This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > PublisherControls > ESRI.ArcGIS.PublisherControls > Interfaces > IA > IARLayer Interface > IARLayer.ChildARLayer Property (ArcObjects .NET 10.5 SDK) |
The child layer at the specifid index of a group layer.
[Visual Basic .NET] Public Function get_ChildARLayer ( _ ByVal index As Integer _ ) As ARLayer
[C#] public ARLayer get_ChildARLayer ( int index );
Returns the specified child layer from a group layer. Use the IsGroupLayer property to determine if a layer is a group layer, and the ARLayerCount property to indicate the number of layers making up a group layer.
2021 800A07E5: The specified layer index is invalid
In C# use the get_ChildARLayer method, as indexed property accessors are not supported.
IARLayer Interface | IARLayer.IsGroupLayer Property | IARLayer.ARLayerCount Property