IGroupLayer.Add Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IGroupLayer.Add Method

Adds a layer to the end of the group.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal Layer As ILayer _
)
[C#]
public void Add (
    ILayer Layer
);
[C++]
HRESULT Add(
  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

Adds the specified layer to the GroupLayer.

See Also

IGroupLayer Interface