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


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

IMultiLayerMarkerSymbol.DeleteLayer Method

Delete marker symbol layer.

[Visual Basic .NET]
Public Sub DeleteLayer ( _
    ByVal markerLayer As IMarkerSymbol _
)
[C#]
public void DeleteLayer (
    IMarkerSymbol markerLayer
);
[C++]
HRESULT DeleteLayer(
  IMarkerSymbol* markerLayer
);
[C++]
Parameters
markerLayer [in]

markerLayer is a parameter of type IMarkerSymbol*

Product Availability

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

Description

DeleteLayer deletes the specified layer in a IMultiLayerMarkerSymbol . Use LayerCount beforehand to determine how many layers currently exist in a IMultiLayerMarkerSymbol .

See Also

IMultiLayerMarkerSymbol Interface