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


IARMap.ARLayerCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARMap Interface > IARMap.ARLayerCount Property
ArcGIS Developer Help

IARMap.ARLayerCount Property

The number of layer in the map's layer collection.

[Visual Basic .NET]
Public ReadOnly Property ARLayerCount As Integer
[C#]
public int ARLayerCount {get;}

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

The ARLayerCount property returns the number of ARLayer's within the ARMap.

Remarks

This does not include any IARLayer::ChildARLayer objects if IARLayer::IsGroupLayer returns true for an ARLayer.

See Also

IARMap Interface

.NET Samples

ArcReaderControl document properties