Show / Hide Table of Contents

Method GetFeaturesForElementsAsync

GetFeaturesForElementsAsync(IEnumerable<UtilityElement>, CancellationToken)

Asynchronously gets the set of loaded ArcGISFeatures referenced by a set of UtilityElements.

Declaration
public Task<IEnumerable<ArcGISFeature>> GetFeaturesForElementsAsync(IEnumerable<UtilityElement> elements, CancellationToken cancellationToken)
Parameters
Type Name Description
IEnumerable<UtilityElement> elements

The set of elements to get the matching features for

CancellationToken cancellationToken

A with which to cancel the operation if required.

Returns
Type Description
Task<IEnumerable<ArcGISFeature>>

A task that represents retrieval of features referenced by the specified elements. The value of the task result is a set of loaded

Remarks

Gets a collection of loaded ArcGISFeature objects that each correspond to one of a collection of UtilityElement objects

Applies to

Platforms and versions
TargetVersions
UWP100.15

GetFeaturesForElementsAsync(IEnumerable<UtilityElement>)

Asynchronously gets the set of loaded ArcGISFeatures referenced by a set of UtilityElements.

Declaration
public Task<IEnumerable<ArcGISFeature>> GetFeaturesForElementsAsync(IEnumerable<UtilityElement> elements)
Parameters
Type Name Description
IEnumerable<UtilityElement> elements

The set of elements to get the matching features for

Returns
Type Description
Task<IEnumerable<ArcGISFeature>>

A task that represents retrieval of features referenced by the specified elements. The value of the task result is a set of loaded

Remarks

Gets a collection of loaded ArcGISFeature objects that each correspond to one of a collection of UtilityElement objects

Applies to

Platforms and versions
TargetVersions
UWP100.15
In This Article
Back to top Copyright © 2022 Esri.