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

IMapServerGroupLayer.Layer Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerGroupLayer Interface > IMapServerGroupLayer.Layer Property
ArcGIS Developer Help

IMapServerGroupLayer.Layer Property

Layer in the collection at the specified index.

[Visual Basic .NET]
Public Function get_Layer ( _
    ByVal Index As Integer _
) As ILayer
public ILayer get_Layer (
    int Index
HRESULT get_Layer(
  long Index,
  ILayer** Layer
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

IMapServerGroupLayer Interface