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


IGroupLayer.Delete Method (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGroupLayer Interface > IGroupLayer.Delete Method
ArcGIS Developer Help

IGroupLayer.Delete Method

Removes the specified layer from the group.

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

Layer is a parameter of type ILayer*

Product Availability

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

Description

Removes the specified Layer from the GroupLayer.

See Also

IGroupLayer Interface