This document is archived and information here might be outdated.  Recommended version.


ISelectionSet2 Interface (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ISelectionSet2 Interface

Provides access to members that manage a set of selected table rows or features.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method Add Adds an object id to the selection set.
Method AddList Adds a list of object id's to the selection set.
Method Combine Combines this selection set with another selection set using the specified set operation.
Read-only property Count The number of oids in the selection set.
Read-only property FullName The full name of the selection set.
Read-only property IDs Enumerates the object ids in the selection set.
Method MakePermanent Makes the SelectionSet permanent. By default SelectionSets are deleted when released.
Method Refresh Refreshes the state of a snapshot selection.
Method RemoveList Removes a list of object id's from the selection set.
Method Search Returns a cursor that can be used to retrieve the objects specified by a query over this selection set.
Method Select Returns a new selection That contains the object ids selected by a query over this selection set.
Read-only property Target The Table or FeatureClass over which the selection set is defined.
Method Update Returns a cursor that can be used to update the objects specified by a query over this selection set.

Inherited Interfaces

Interfaces Description
ISelectionSet Provides access to members that manage a set of selected table rows or features.

CoClasses that implement ISelectionSet2

CoClasses and Classes Description
RelQueryTableSelectionSet Esri RelQueryTable Selection object.
SelectionSet Esri Selection Set object.
TMSSelectSet (esriTrackingAnalyst) Controls the tracking selection set.