ArcObjects Library Reference (Carto)  

IACMap.LayerCount Property

The number of layers in the ArcIMS service.

[Visual Basic .NET]
Public ReadOnly Property LayerCount As Integer
[C#]
public int LayerCount {get;}
[C++]
HRESULT get_LayerCount(
  long* Count
);
[C++]

Parameters

Count [out, retval]   Count is a parameter of type long

Product Availability

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

See Also

IACMap Interface