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




layers
Array of layers to be added.
Adds an array of layers to the collection.

Syntax

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

Parameters

layers
Array of layers to be added.

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.