ArcObjects Library Reference (Carto)  

IMap.SelectionCount Property

Number of selected features.

[Visual Basic .NET]
Public ReadOnly Property SelectionCount As Integer
[C#]
public int SelectionCount {get;}
[C++]
HRESULT get_SelectionCount(
  long* Count
);
[C++]

Parameters

Count [out, retval]   Count is a parameter of type long

Product Availability

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

Remarks

Returns the total number of selected features in the Map.  The selection total is calculated from all layers that implement IFeatureLayer.

See Also

IMap Interface