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


ICompositeGraphicsLayer.DeleteLayer Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > ICompositeGraphicsLayer Interface > ICompositeGraphicsLayer.DeleteLayer Method
ArcGIS Developer Help

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