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

IGroupLayer.Add 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.Add Method
ArcGIS Developer Help

IGroupLayer.Add Method

Adds a layer to the end of the group.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal Layer As ILayer _
public void Add (
    ILayer Layer
  ILayer* Layer
Layer [in]

Layer is a parameter of type ILayer*

Product Availability

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


Adds the specified layer to the GroupLayer.

See Also

IGroupLayer Interface