This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IB > IBasicMap Interface > IBasicMap.ClearLayers Method (ArcObjects .NET 10.4 SDK) |
Removes all layers from the map.
[Visual Basic .NET]
Public Sub ClearLayers ( _
)
[C#] public void ClearLayers ( );
[C++]
HRESULT ClearLayers(
void
);