ESRI.ArcGIS.ADF.IMS
LayerCollection Constructor
See Also 
ESRI.ArcGIS.ADF.IMS.Carto.Layer Namespace > LayerCollection Class : LayerCollection Constructor




Constructs a LayerCollection.

Syntax

Visual Basic (Declaration) 
Public Function New()
Visual Basic (Usage)Copy Code
Dim instance As LayerCollection()
C# 
public LayerCollection()

Remarks

Each MapView and DataFrame has a Layers property which references a LayerCollection. Therefore it is not necessary to create a LayerCollection for the MapView. You can manipulate the existing layer collections as needed to modify the map.

You may want to create a LayerCollection in order to add multiple layers at a single time into the MapView.

See Also

© 2010 All Rights Reserved.