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

IGraphicsSelection.SelectedElementCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IG > IGraphicsSelection Interface > IGraphicsSelection.SelectedElementCount Property
ArcGIS Developer Help

IGraphicsSelection.SelectedElementCount Property

The number of selected elements.

[Visual Basic .NET]
Public ReadOnly Property SelectedElementCount As Integer
public int SelectedElementCount {get;}
HRESULT get_SelectedElementCount(
  System.Int32* pCount
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