ArcObjects Library Reference (Carto)  

IWMSGroupLayer.Clear Method

Deletes all the sub layers.

[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.

See Also

IWMSGroupLayer Interface