com.esri.arcgis.arcmapui
Interface ISelectFeaturesOperation

All Superinterfaces:
Serializable
All Known Implementing Classes:
ISelectFeaturesOperationProxy, SelectFeaturesOperation

public interface ISelectFeaturesOperation
extends Serializable

Provides access to members that control the 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.

Product Availability

Available with ArcGIS Desktop.


Method Summary
 void setActiveViewByRef(IActiveView rhs1)
          The active view (for refresh).
 void setLayerByRef(ILayer rhs1)
          The layer from which to select features.
 void setSelectionSetByRef(ISelectionSet rhs1)
          The selection set.
 

Method Detail

setLayerByRef

void setLayerByRef(ILayer rhs1)
                   throws IOException,
                          AutomationException
The layer from which to select features.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.ILayer (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setSelectionSetByRef

void setSelectionSetByRef(ISelectionSet rhs1)
                          throws IOException,
                                 AutomationException
The selection set.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
rhs1 - A reference to a com.esri.arcgis.geodatabase.ISelectionSet (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setActiveViewByRef

void setActiveViewByRef(IActiveView rhs1)
                        throws IOException,
                               AutomationException
The active view (for refresh).

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Parameters:
rhs1 - A reference to a com.esri.arcgis.carto.IActiveView (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.