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


IEnumElement Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IEnumElement Interface
ArcGIS Developer Help

IEnumElement Interface

Provides access to members that control the Element enumerator object.

Product Availability

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

Members

Name Description
Method Next Returns the next element in the enumeration.
Method Reset Start the enumeration at the beginning.

Classes that implement IEnumElement

Classes Description
ElementSelection (esriArcMapUI) Maintains the the graphic element selection.
SimpleElementSelection Simple selection object. Implements drawing and selecting but not clipboard support.

Remarks

This interface provides access to an enumeration of elements.

For instance, IGraphicsContainerSelect::SelectedElements returns an IEnumElement containing all of the selected elements of the Graphics Container.

An IEnumElement reference to a selection of elements is also available from IViewManager::ElementSelection and IActiveView::Selection (the ISelection returned can be casted into an IEnumelement).

See Also

IActiveView.Selection Property | IEnumElement Interface | IGraphicsContainerSelect Interface

.NET Samples

Move a graphic along a path in ArcMap