ArcObjects Library Reference  (Carto)    

IBasicMap2.ClearLayers Method

Removes all layers from the map.

[Visual Basic 6.0]
Sub ClearLayers
[Visual Basic .NET]
Public Sub ClearLayers ( _
)
[C#]
public void ClearLayers (
);
[Java]
public void clearLayers (
)
throws
    IOException,
    AutomationException
[C++]
HRESULT ClearLayers(
void
);

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IBasicMap2 Interface

 


Feedback Send feedback on this page