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


ElementSelection CoClass (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (ArcMapUI)  

ElementSelection CoClass

Maintains the the graphic element selection.

Product Availability

Available with ArcGIS Desktop.

Supported Platforms

Windows

Interfaces

Interfaces Description
IConnectionPointContainer Supports connection points for connectable objects.
IEnumElement (esriCarto) Provides access to members that control the Element enumerator object.
ISelection (esriCarto) Provides access to members that control a collection of selectable objects.

Event Interfaces

Interfaces Description
ISelectionEvents (default) Provides access to events that occur when the selection changes.

Working with Events

[Visual Basic 6.0]

When working with ElementSelection's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pElementSelection as ElementSelection