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


IGMxDocument.RemoveAllLayers Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (ArcGlobe)  

IGMxDocument.RemoveAllLayers Method

Removes all layers.

[Visual Basic .NET]
Public Sub RemoveAllLayers ( _
)
[C#]
public void RemoveAllLayers (
);

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

Remarks

RemoveAllLayers deletes all the layers present in the Table Of Contents of the current ArcGlobe document and therefore, should be carefully used. 

See Also

IGMxDocument Interface