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. refer to Selection sample for more details
C# | Copy Code |
---|---|
// in the form design mode, |
You can specify "selectable" layers by passing feature sources to the
SelectionMapAction.SelectionFeatureSources property, and the GeometricRelationship determines
what type of geometric relationship would be used. Upon the completion of
SelectionMapAction, use SelectedFeatures property to get a list of
FeatureDataTable each of which contains selected features belonging to that
feature source.
ESRI.ArcGIS.Mobile.WinForms.MapAction
ESRI.ArcGIS.Mobile.WinForms.SelectionMapAction
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