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


IACMap.Layer Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IACMap.Layer Property

The layer at the given index.

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

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

Product Availability

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

See Also

IACMap Interface