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


IMapTopology2.ClearLayers Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > EditorExt > ESRI.ArcGIS.EditorExt > Interfaces > IM > IMapTopology2 Interface > IMapTopology2.ClearLayers Method
ArcGIS Developer Help

IMapTopology2.ClearLayers Method

Removes all layers from this map topology. All existing topology elements will become invalid.

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

Product Availability

Available with ArcGIS Desktop.

See Also

IMapTopology2 Interface