This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IC > ICompositeGraphicsLayer Interface > ICompositeGraphicsLayer.DeleteLayer Method (ArcObjects .NET 10.5 SDK) |
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