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


IWMSGroupLayer.Clear Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IW > IWMSGroupLayer Interface > IWMSGroupLayer.Clear Method
ArcGIS Developer Help

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