ArcObjects Library Reference (Carto)  

IGroupLayer.Clear Method

Removes all layers from the group.

[Visual Basic .NET]
Public Sub Clear ( _
)
[C#]
public void Clear (
);
[C++]
HRESULT Clear(
void
);

Product Availability

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

Description

Removes all constituent layers from the GroupLayer.

See Also

IGroupLayer Interface