ArcObjects Library Reference (Carto)  

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