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

IMapServerGroupLayer.Count 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.Count Property
ArcGIS Developer Help

IMapServerGroupLayer.Count Property

Number of layers in the collection.

[Visual Basic .NET]
Public ReadOnly Property Count As Integer
public int Count {get;}
HRESULT get_Count(
  System.Int32* LayerCount
LayerCount [out, retval]

LayerCount is a parameter of type long*

Product Availability

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

See Also

IMapServerGroupLayer Interface