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

ISxDocument.RemoveAllLayers Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcScene > ESRI.ArcGIS.ArcScene > Interfaces > IS > ISxDocument Interface > ISxDocument.RemoveAllLayers Method
ArcGIS Developer Help

ISxDocument.RemoveAllLayers Method

Removes all layers.

[Visual Basic .NET]
Public Sub RemoveAllLayers ( _
public void RemoveAllLayers (

Product Availability

Available with ArcGIS Desktop. Requires 3D Analyst Extension.

See Also

ISxDocument Interface