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
public IFIDSet SelectionFeatures {get; set;}
HRESULT get_SelectionFeatures(
  IFIDSet** FeatureIDs
HRESULT put_SelectionFeatures(
  IFIDSet* FeatureIDs

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.


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