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


IGPCompositeLayer.Clear Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPCompositeLayer Interface > IGPCompositeLayer.Clear Method
ArcGIS Developer Help

IGPCompositeLayer.Clear Method

Remove all 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

IGPCompositeLayer Interface