Provides access to members that control the Select Features operation.
Product Availability
Members
Description | ||
---|---|---|
ActiveView | The active view (for refresh). | |
Layer | The layer from which to select features. | |
SelectionSet | The selection set. |
CoClasses that implement ISelectFeaturesOperation
CoClasses and Classes | Description |
---|---|
SelectFeaturesOperation | Select Features Operation. |
Remarks
Use this interface to perform selection operation. The changes in the selection will then be undoable or redoable.
To use, simply create a SelectFeaturesOperation object and set the values of the properties as follow:
The ActiveView property will contain a reference to the active view to refresh on undo/redo, typically the current active view.
Layer is the layer on which to perform the selection
Store into SelectionSet the selection set resulting from performing the operation.
Then pass the SelectFeaturesOperation object to the Do method of an OperationStack object, the operation will be performed.
Use IActiveView::PartialRefresh to refresh the selection on the map.
The selection operation you performed can now be undone or redone at will.