Number of layers in the map.
[Visual Basic 6.0] Property LayerCount As Long
[Visual Basic .NET] Public ReadOnly Property LayerCount As Integer
[C#] public int LayerCount {get;}
[Java] public getLayerCount ( Long Count )
[C++]
HRESULT get_LayerCount(
long* Count
);
Parameters
Count [out, retval]
Count is a parameter of type long
LayerCount returns the number of layers in the map that implement IDataLayer.
LayerCount does not include the basic graphics layer (CompositeGraphicLayer) that each map contains nor does it return the graphic layers that can be created into this composite layer.
IMap Interface | IDataLayer Interface