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


IGPCompositeLayer.Layer Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPCompositeLayer Interface > IGPCompositeLayer.Layer Property
ArcGIS Developer Help

IGPCompositeLayer.Layer Property

Returns a given layer.

[Visual Basic .NET]
Public Function get_Layer ( _
    ByVal Index As Integer _
) As IGPLayer
[C#]
public IGPLayer get_Layer (
    int Index
);
[C++]
HRESULT get_Layer(
  long Index,
  IGPLayer** ppGPLayer
);
[C++]
Parameters
Index [in]

Index is a parameter of type long ppGPLayer [out, retval]
ppGPLayer is a parameter of type IGPLayer**

Product Availability

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

See Also

IGPCompositeLayer Interface