This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapLayers Interface > IMapLayers.LayerCount Property (ArcObjects .NET 10.5 SDK) |
Number of layers in the map.
[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