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


IGPCompositeLayer.Add Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGPCompositeLayer.Add Method

Add a layer.

[Visual Basic .NET]
Public Sub Add ( _
    ByVal pGPLayer As IGPLayer _
)
[C#]
public void Add (
    IGPLayer pGPLayer
);
[C++]
HRESULT Add(
  IGPLayer* pGPLayer
);
[C++]

Parameters pGPLayer [in]
pGPLayer is a parameter of type IGPLayer*

Product Availability

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

See Also

IGPCompositeLayer Interface