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
System.Threading.Tasks.Task<RouteResult>

The task object representing the asynchronous create route result operation. The value of the task result is a RouteResult object.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.3 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.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
System.Threading.Tasks.Task<RouteResult>

The task object representing the asynchronous create route result operation. The value of the task result is a RouteResult object.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.4 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.4 - 200.8
Xamarin.Android100.4 - 100.15
Xamarin.iOS100.4 - 100.15
UWP100.4 - 200.8
In This Article
Back to top Copyright © 2022 Esri.