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


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

IMultiLayerFillSymbol.ClearLayers Method

Remove all symbol layers.

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

Product Availability

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

Description

ClearLayers removes all the layers contained within the IMultiLayerFillSymbol.

See Also

IMultiLayerFillSymbol Interface