![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
SelectionLayers() Method | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Carto Namespace > MapView Class > SelectionLayers Method : SelectionLayers() Method |
Visual Basic (Declaration) | |
---|---|
Public Overloads Function SelectionLayers() As LayerCollection |
Visual Basic (Usage) | ![]() |
---|---|
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.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.
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