ESRI.ArcGIS.ADF.IMS
AddRange(LayerCollection) Method
See Also 
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > LayerCollection Class > AddRange Method : AddRange(LayerCollection) Method




layers
A collection of layers to add.
Adds all the layers in a collection to the layer collection.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub AddRange( _
   ByVal layers As LayerCollection _
) 
Visual Basic (Usage)Copy Code
Dim instance As LayerCollection
Dim layers As LayerCollection
 
instance.AddRange(layers)
C# 
public void AddRange( 
   LayerCollection layers
)

Parameters

layers
A collection of layers to add.

Remarks

This method may be used to add multiple layers in a single step to the map's layer collection. It adds the layers to the top of the layer collection, and therefore will draw on top of previously added layers.

See Also

© 2010 All Rights Reserved.