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

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

IGroupElement2 Interface

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

Product Availability

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


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.

Classes that implement IGroupElement2

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