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


IElementCollection2 Interface (ArcObjects .NET 10.4 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

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.