![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
GetAllNestedNonGroupLayers Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > LayerCollection Class : GetAllNestedNonGroupLayers Method |
Visual Basic (Declaration) | |
---|---|
Public Function GetAllNestedNonGroupLayers() As LayerCollection |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As LayerCollection Dim value As LayerCollection value = instance.GetAllNestedNonGroupLayers() |
C# | |
---|---|
public LayerCollection GetAllNestedNonGroupLayers() |
Return Value
Collection of all layers in the map.Layers can be grouped within the layer collection of a MapView. To retrieve each layer when groups are used, it would be necessary to drill down within each group. The GetAllNestedNonGroupLayers method creates a new LayerCollection where the members of layer groups are ungrouped. This LayerCollection makes no changes to the Layers of the MapView. However, the individual layers are references to the actual layers within the MapView.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family