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


IBasicMap2.SelectionCount Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IBasicMap2.SelectionCount Property

Number of selected features in the map.

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

Parameters pCount [out, retval] pCount is a parameter of type long

Product Availability

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

See Also

IBasicMap2 Interface