This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IB > IBasicMap Interface > IBasicMap.LayerCount Property (ArcObjects .NET 10.4 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* pCount
);
[C++]
Parameters pCount [out, retval] pCount is a parameter of type long