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 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 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.3 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.3 - 100.14
Xamarin.iOS100.3 - 100.14
UWP100.3 - 100.14

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 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 - 100.14
.NET 6.0100.13 - 100.14
.NET 6.0 Windows100.13 - 100.14
.NET Framework100.4 - 100.14
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.4 - 100.14
Xamarin.iOS100.4 - 100.14
UWP100.4 - 100.14
In This Article
Back to top Copyright © 2021 Esri.