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


IGroupLayer.Clear Method (ArcObjects .NET 10.4 SDK)
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