ArcObjects Library Reference (Geoprocessing)  

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