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(
  long* 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) | Using MOLE symbol-based graphics with interactive maps (Code Files: MainForm) |

.NET Related Topics

Working with PageLayout elements |