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


ICompositeGraphicsLayer.DeleteLayer Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ICompositeGraphicsLayer.DeleteLayer Method

Removes a layer from the composite graphics layer.

[Visual Basic .NET]
Public Sub DeleteLayer ( _
    ByVal LayerName As String _
)
[C#]
public void DeleteLayer (
    string LayerName
);
[C++]
HRESULT DeleteLayer(
  BSTR LayerName
);
[C++]

Parameters LayerName [in] LayerName is a parameter of type BSTR

Product Availability

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

See Also

ICompositeGraphicsLayer Interface