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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.3 - 200.5 |
Xamarin.Android | 100.3 - 100.15 |
Xamarin.iOS | 100.3 - 100.15 |
UWP | 100.3 - 200.5 |
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
Target | Versions |
---|---|
.NET Standard 2.0 | 100.4 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.4 - 200.5 |
Xamarin.Android | 100.4 - 100.15 |
Xamarin.iOS | 100.4 - 100.15 |
UWP | 100.4 - 200.5 |