Layer in the collection at the specified index.
[Visual Basic 6.0] Property Layer(
ByVal Index As Long _
) As ILayer
[Visual Basic .NET] Public Function get_Layer ( _ ByVal Index As Integer _ ) As ILayer
[C#] public ILayer get_Layer ( int Index );
[Java] public ILayer getLayer ( Long Index )
[C++] HRESULT get_Layer( long Index, ILayer** Layer );
Parameters
Index [in]
Index is a parameter of type long
Layer [out, retval]
Layer is a parameter of type ILayer
Returns the Layer at the given index. An error will be raised if an index is out of range so use the Count property of the ICompositeLayer interface to check indexes before using them. The object that is returned should be declared as an ILayer object.