Show / Hide Table of Contents

Method CreateRouteResultAsync

CreateRouteResultAsync(PortalItem)

Imports route result from portal item.

Declaration
public static Task<RouteResult> CreateRouteResultAsync(PortalItem portalItem)
Parameters
Type Name Description
PortalItem portalItem

The portal item with feature collection that contains directions, stops, route info, and barriers tables.

Returns
Type Description
Task<RouteResult>

The RouteResult for the route task.

Applies to

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

CreateRouteResultAsync(FeatureCollection)

Imports a route result from a Route Layer feature collection.

Declaration
public static Task<RouteResult> CreateRouteResultAsync(FeatureCollection collection)
Parameters
Type Name Description
FeatureCollection collection

The feature collection that contains directions, stops, route info, and barriers tables.

Returns
Type Description
Task<RouteResult>

The RouteResult defined by the feature collection.

Applies to

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