Visual Basic (Declaration) | |
---|---|
Public Class SelectionMapAction Inherits MapAction |
C# | |
---|---|
public class SelectionMapAction : MapAction |
The example shows how to select features using selectionMapAction, and populate results in a datagrid control. refers to RubberBandSelection sample for more details
C# | Copy Code |
---|---|
// in the form design mode, |
You can specify "selectable" layers by passing feature layers to the
SelectionMapAction.SelectionLayers property, and the GeometricRelationship determines
what type of geometric relationship would be used. Upon the completion of
SelectionMapAction, use GetFeatureSelection() method to get a list of
FeatureDataTable each of which contains selected features belonging to that
feature layer.
ESRI.ArcGIS.Mobile.MapActions.MapAction
ESRI.ArcGIS.Mobile.MapActions.SelectionMapAction
Requirements
Namespace: ESRI.ArcGIS.Mobile.MapActions
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
Assembly: ESRI.ArcGIS.Mobile (in ESRI.ArcGIS.Mobile.dll)