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


IWMSGroupLayer.Delete Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IW > IWMSGroupLayer Interface > IWMSGroupLayer.Delete Method
ArcGIS Developer Help

IWMSGroupLayer.Delete Method

Deletes the given layer if it exists.

[Visual Basic .NET]
Public Sub Delete ( _
    ByVal pWMSLayer As ILayer _
)
[C#]
public void Delete (
    ILayer pWMSLayer
);
[C++]
HRESULT Delete(
  ILayer* pWMSLayer
);
[C++]
Parameters
pWMSLayer [in]

pWMSLayer is a parameter of type ILayer*

Product Availability

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

See Also

IWMSGroupLayer Interface