This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerDescription Interface > ILayerDescription.SelectionFeatures Property (ArcObjects .NET 10.5 SDK) |
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
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.