This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IW > IWMSGroupLayer Interface > IWMSGroupLayer.Delete Method (ArcObjects .NET 10.4 SDK) |
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