Show / Hide Table of Contents

Method SelectFeaturesAsync

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 Task<FeatureQueryResult> SelectFeaturesAsync(QueryParameters parameters, SelectionMode mode, CancellationToken cancellationToken = default)
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 cancellation token that can be used by other objects or threads to receive notice of cancellation.

Returns
Type Description
Task<FeatureQueryResult>

A collection of currently selected features that match the criteria set by the QueryParameters object.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.13 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.2 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.13 - 200.8
Xamarin.Android100.13 - 100.14
Xamarin.iOS100.13 - 100.15
UWP100.13 - 200.8
In this article
Provide feedback
Back to top Copyright © 2025 Esri.