ESRI.ArcGIS.ADF.IMS | |
GetAllNestedNonGroupLayers Method | |
See Also |
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > LayerCollection Class : GetAllNestedNonGroupLayers Method |
Visual Basic (Declaration) | |
---|---|
Public Function GetAllNestedNonGroupLayers() As LayerCollection |
Visual Basic (Usage) | Copy Code |
---|---|
|
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.