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

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.