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


IGraphicsContainerSelect.ElementSelectionCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGraphicsContainerSelect Interface > IGraphicsContainerSelect.ElementSelectionCount Property
ArcGIS Developer Help

IGraphicsContainerSelect.ElementSelectionCount Property

The number of selected elements.

[Visual Basic .NET]
Public ReadOnly Property ElementSelectionCount As Integer
[C#]
public int ElementSelectionCount {get;}
[C++]
HRESULT get_ElementSelectionCount(
  System.Int32* Count
);
[C++]
Parameters
Count [out, retval]

Count is a parameter of type long*

Product Availability

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

See Also

IGraphicsContainerSelect Interface

.NET Samples

Move a graphic along a path in ArcMap Brushing to create a selection