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


IGraphicsSelection.SelectedElementCount Property (ArcObjects .NET 10.6 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(
  System.Int32* 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