ArcGIS Runtime SDK for WPF - Library Reference
EnumerateLeaves Method
See Also 
ESRI.ArcGIS.Client Namespace > GroupLayerBase Class : EnumerateLeaves Method

layers
Recursively enumerates through all group layers and returning all the layers at the leaves of the layer tree.

Syntax

Visual Basic (Declaration) 
Public Shared Function EnumerateLeaves( _
   ByVal layers As IEnumerable(Of Layer) _
) As IEnumerable(Of Layer)
C# 
public static IEnumerable<Layer> EnumerateLeaves( 
   IEnumerable<Layer> layers
)

Parameters

layers

Return Value

Layers at the leaves of the layer tree

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.