Show / Hide Table of Contents

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.

Declaration
public Task<FeatureQueryResult> SelectFeaturesAsync(QueryParameters parameters, SelectionMode mode)
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.

Returns
Type Description
System.Threading.Tasks.Task<FeatureQueryResult>

A task which represents the asynchronous select features operation. The value of the task result is a FeatureQueryResult object.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.12 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.12 - 100.15
.NET 5100.12
.NET Core 3.1100.12
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 100.15

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.

Declaration
public async 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.

CancellationToken cancellationToken

A token which can be used to cancel the asynchronous select operation.

Returns
Type Description
System.Threading.Tasks.Task<FeatureQueryResult>

A task which represents the asynchronous select features operation. The value of the task result is a FeatureQueryResult object.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.12 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.12 - 100.15
.NET 5100.12
.NET Core 3.1100.12
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 100.14
In This Article
Back to top Copyright © 2022 Esri.