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

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

IElementCollection2 Interface

Provides access to members that control the Graphics element collection.

Product Availability

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


Name Description
Method Add Adds an element to the collection.
Method Clear Removes all the elements in the collection.
Read-only property Count Number of elements in the collection.
Method QueryItem Element at the given index.
Method Remove Remove an element from the collection.

Classes that implement IElementCollection2

Classes Description
ElementCollection Collection of elements.