ILayerDescription.SelectionFeatures Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

ILayerDescription.SelectionFeatures Property

Array of selected features.

[Visual Basic .NET]
Public Property SelectionFeatures As IFIDSet
[C#]
public IFIDSet SelectionFeatures {get; set;}
[C++]
HRESULT get_SelectionFeatures(
  IFIDSet** FeatureIDs
);
[C++]
HRESULT put_SelectionFeatures(
  IFIDSet* FeatureIDs
);
[C++]

Parameters FeatureIDs [out, retval]
FeatureIDs is a parameter of type IFIDSet** FeatureIDs [in]
FeatureIDs is a parameter of type IFIDSet*

Product Availability

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

Remarks

If you want to clear the selection, set SelectionFeatures to Null/Nothing. If you forget to do this, the previous selection will be added to the current selection.

See Also

ILayerDescription Interface