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


IGraphicsSelection.SelectedElementCount Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (3DAnalyst)  

IGraphicsSelection.SelectedElementCount Property

The number of selected elements.

[Visual Basic .NET]
Public ReadOnly Property SelectedElementCount As Integer
[C#]
public int SelectedElementCount {get;}
[C++]
HRESULT get_SelectedElementCount(
  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. Requires 3D Analyst Extension.

See Also

IGraphicsSelection Interface