Show / Hide Table of Contents

Method GetSelectedFeaturesAsync

GetSelectedFeaturesAsync()

Returns a list of the currently selected features.

Declaration
public Task<FeatureQueryResult> GetSelectedFeaturesAsync()
Returns
Type Description
Task<FeatureQueryResult>

A task which represents the asynchronous get selected features operation. The value of the task result is a FeatureQueryResult object; only selected features are present.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.12 - 200.8
.NET100.13 - 300.0
.NET Windows100.13 - 300.0
.NET Android200.0 - 300.0
.NET iOS200.0 - 300.0
.NET Framework100.12 - 200.8
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.8

GetSelectedFeaturesAsync(CancellationToken)

Returns a list of the currently selected features.

Declaration
public Task<FeatureQueryResult> GetSelectedFeaturesAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
CancellationToken cancellationToken

A token that can be used to cancel the asynchronous get operation.

Returns
Type Description
Task<FeatureQueryResult>

The query result that contains the selected features.

Applies to

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