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


ILayerDescription.SelectionFeatures Property (ArcObjects .NET 10.4 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