ESRI.ArcGIS.ADF.IMS
AddRange(Layer[]) Method
See Also  Send Feedback
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.

Requirements

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

See Also

© 2011 All Rights Reserved.