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


IElementCollection2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IE > IElementCollection2 Interface (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IElementCollection2 Interface

Provides access to members that control the Graphics element collection.

Product Availability

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

Members

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.

CoClasses that implement IElementCollection2

CoClasses and Classes Description
ElementCollection Collection of elements.