Show / Hide Table of Contents

Method GetSelectedFeaturesAsync

GetSelectedFeaturesAsync()

Returns a list of the currently selected features.

Declaration
public Task<FeatureQueryResult> GetSelectedFeaturesAsync()
Returns
Type Description
System.Threading.Tasks.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.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.12 - 200.7
Xamarin.Android100.12 - 100.15
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.7

GetSelectedFeaturesAsync(CancellationToken)

Returns a list of the currently selected features.

Declaration
public async Task<FeatureQueryResult> GetSelectedFeaturesAsync(CancellationToken cancellationToken)
Parameters
Type Name Description
System.Threading.CancellationToken cancellationToken

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

Returns
Type Description
System.Threading.Tasks.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.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.2 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.12 - 200.7
Xamarin.Android100.12 - 100.14
Xamarin.iOS100.12 - 100.15
UWP100.12 - 200.7
In This Article
Back to top Copyright © 2022 Esri.