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




flayer
The FeatureLayer by which you are removing all associated selection layers.
Remove all the selection layers from the Map that are associated with a particular FeatureLayer.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub ClearSelectionLayers( _
   ByVal flayer As FeatureLayer _
) 
Visual Basic (Usage)Copy Code
Dim instance As MapView
Dim flayer As FeatureLayer
 
instance.ClearSelectionLayers(flayer)
C# 
public void ClearSelectionLayers( 
   FeatureLayer flayer
)

Parameters

flayer
The FeatureLayer by which you are removing all associated selection layers.

Remarks

This method removes only the selection layers that are built upon the feature layer specified in the argument when calling the method. Other selection layers may still be present if associated with other map layers.

To use this method, first obtain a reference to a feature layer in the MapView's Layers collection. Pass this reference as the argument to remove its associated selection layers.

See Also

© 2010 All Rights Reserved.