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




flayer
FeatureLayer by which to retrieve all associated selection layers.
Gets a LayerCollection containing all the selection layers associated with a particular FeatureLayer.

Syntax

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

Parameters

flayer
FeatureLayer by which to retrieve all associated selection layers.

Return Value

LayerCollection containing all the selection layers associated with a particular FeatureLayer.

Remarks

Use this method to retrieve only the selection layers built from a particular feature layer. There may be multiple layers in the returned collection if several selection layers have been added. 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 retrieve its associated selection layers.

See Also

© 2010 All Rights Reserved.