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 CancellationToken with which to cancel the operation if required. |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.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 IEnumerable<T> |
Remarks
Gets a collection of loaded ArcGISFeature objects that each correspond to one of a collection of UtilityElement objects
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.12 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.12 - 100.15 |
| .NET 5 | 100.12 |
| .NET Core 3.1 | 100.12 |
| Xamarin.Android | 100.12 - 100.15 |
| Xamarin.iOS | 100.12 - 100.15 |
| UWP | 100.12 - 100.14 |
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 |
|---|---|
| System.Threading.Tasks.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 IEnumerable<T> |
Remarks
Gets a collection of loaded ArcGISFeature objects that each correspond to one of a collection of UtilityElement objects
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.6 - 100.15 |
| .NET 6.0 | 100.13 - 100.15 |
| .NET 6.0 Windows | 100.13 - 100.15 |
| .NET Framework | 100.6 - 100.15 |
| .NET 5 | 100.10 - 100.12 |
| .NET Core 3.1 | 100.7 - 100.12 |
| Xamarin.Android | 100.6 - 100.15 |
| Xamarin.iOS | 100.6 - 100.15 |
| UWP | 100.6 - 100.14 |