Click or drag to resize

RouteTask Methods

The RouteTask type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleCreateAsync(TransportationNetworkDataset)
Creates a route task from a transportation network dataset.
Public methodStatic memberCode exampleCreateAsync(String, String)
Creates a route task from a local geodatabase.
Public methodStatic memberCode exampleCreateAsync(Uri, Credential)
Creates a route task from an online URI.
Public methodCode exampleCreateDefaultParametersAsync
Creates default parameters for the route task.
Public methodCreateParametersAsync(FeatureCollection)
Imports route parameters from feature collection and then adjusts imported parameters to current Route task.
Public methodCreateParametersAsync(PortalItem)
Imports route parameters from portal item and then adjusts imported parameters to current Route task.
Public methodStatic memberCreateRouteResultAsync(FeatureCollection)
Imports a route result from a Route Layer feature collection.
Public methodStatic memberCreateRouteResultAsync(PortalItem)
Imports route result from portal item.
Public methodCode exampleSolveRouteAsync
Solves a route with the specified parameters.
Top
See Also