ESRI.ArcGIS.ADF.IMS
SelectionLayers() Method
See Also 
ESRI.ArcGIS.ADF.IMS.Carto Namespace > MapView Class > SelectionLayers Method : SelectionLayers() Method




Get a LayerCollection containing all the selection layers in the Map.

Syntax

Visual Basic (Declaration) 
Public Overloads Function SelectionLayers() As LayerCollection
Visual Basic (Usage)Copy Code
Dim instance As MapView
Dim value As LayerCollection
 
value = instance.SelectionLayers()
C# 
public LayerCollection SelectionLayers()

Return Value

LayerCollection containing all the selection layers in the Map.

Remarks

Selection layers are layers that are based on existing map feature layers, and are added to the map to highlight features from the layer. These are for visual map display rather than for retrieving feature information. Selection layers are created from a FeatureLayer, using one of the CreateSelectionLayer methods in the feature layer. They are then added to this layer collection.

Selection layers may be retrieved in order to examine them or to modify the parameters of selection. To remove selection layers, use ClearSelectionLayers() to remove all selection layers, or use ClearSelectionLayers(FeatureLayer) to remove layers based on a particular feature layer, or use the remove methods within the layer collection to remove individual selection layers.

See Also

© 2010 All Rights Reserved.