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