ArcObjects Library Reference (PublisherControls)  

IARLayer.ARLayerCount Property

The number of child layers in a group layer.

[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 indicates the number of layers making up a group layer. Use the IsGroupLayer property to determine if a layer is a group layer.

Remarks

The ARLayerCount does not include graphics layers (this may include layers authored in 3rd party software, for example, SketchUp layers).

See Also

IARLayer Interface | IARLayer.IsGroupLayer Property | IARLayer.ChildARLayer Property