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