Method SelectFeaturesAsync
SelectFeaturesAsync(QueryParameters, SelectionMode)
Selects the features that match the criteria in the QueryParameters object and adds them to the current list of selected features GetSelectedFeaturesAsync().
Declaration
public Task<FeatureQueryResult> SelectFeaturesAsync(QueryParameters parameters, SelectionMode mode)
Parameters
| Type | Name | Description |
|---|---|---|
| QueryParameters | parameters | A query that defines features to select from the FeatureTable. |
| SelectionMode | mode | Defines how the list of currently selected features will be updated with the features returned from the query. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<FeatureQueryResult> | The task object representing the asynchronous select features operation. The value of the task result is a FeatureQueryResult object. |
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |
Relevant samples
SelectFeaturesAsync(QueryParameters, SelectionMode, CancellationToken)
Selects the features that match the criteria in the QueryParameters object and adds them to the current list of selected features GetSelectedFeaturesAsync().
Declaration
public Task<FeatureQueryResult> SelectFeaturesAsync(QueryParameters parameters, SelectionMode mode, CancellationToken cancellationToken)
Parameters
| Type | Name | Description |
|---|---|---|
| QueryParameters | parameters | The definition of the query to submit to the feature table. |
| SelectionMode | mode | Defines how the list of currently selected features will be updated with the features returned from the query. |
| System.Threading.CancellationToken | cancellationToken | A cancellation token that can be used by other objects or threads to receive notice of cancellation. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<FeatureQueryResult> | The task object representing the asynchronous select features operation. The value of the task result is a FeatureQueryResult object. |
See Also
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.2 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.14 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |