ArcObjects Library Reference (Carto)  

ICompositeLayer2.Layer Property

Layer in the collection at the specified index.

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

Parameters

Index [in]   Index is a parameter of type long Layer [out, retval]

  Layer is a parameter of type ILayer

Product Availability

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

See Also

ICompositeLayer2 Interface

.NET Snippets

Toggle Visibility Of Composite Layer