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


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

IGroupElement2 Interface

Provides access to members that control the Group element. Note: the IGroupElement2 interface has been superseded byIGroupElement3. Please consider using the more recent version.

Product Availability

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

Members

Name Description
Method AddElement Adds the given element to the group.
Method ClearElements Removes all elements from the group.
Method DeleteElement Removes the given element from the group.
Read-only property Element Element at the given index of the group.
Read-only property ElementCount Number of elements in the group.
Read/write property Elements Elements in the group.
Method Refresh Let the group know that there has been a change in one or more of the sub-elements.

CoClasses that implement IGroupElement2

CoClasses and Classes Description
GroupElement The Group Graphic Element to display a group of graphic elements.