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


IGraphicsContainerSelect.ElementSelectionCount Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

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

Brushing to create a selection (Code Files: BrushingVB) | Move a graphic along a path in ArcMap (Code Files: cmdMoveGraphicAlongPath)

.NET Related Topics

Working with PageLayout elements