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


IGPCompositeLayer.Layer Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

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