This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapLayers Interface > IMapLayers.Layer Property (ArcObjects .NET 10.5 SDK) |
The layer at the given 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