ArcGIS Runtime SDK for WPF - Library Reference
RouteParameters Class Members
See Also  Properties 
ESRI.ArcGIS.Client.Tasks Namespace : RouteParameters Class


The following tables list the members exposed by RouteParameters.

Public Constructors

 NameDescription
public ConstructorRouteParameters ConstructorInitializes a new instance of the RouteParameters class.  
Top

Public Properties

 NameDescription
public PropertyAccumulateAttributesThe list of network attribute names to be accumulated with the analysis, i.e. which attributes should be returned as part of the response. The default is as defined in the specific routing network layer used in your RouteTask. You can specify any attributes names listed in the Service Directory under "Network Dataset -> Network Attributes" as "Usage Type: esriNAUTCost". (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyAttributeParameterValuesA set of attribute parameter values that can be parameterized to determine which network elements can be used by a vehicle. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyBarriersThe set of barriers loaded as network locations during analysis. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyBarriersUrlGets or sets the barriers Url. A Url can be provided to a location that returns a feature set of geometries. The points in the feature set will be used as barriers. If BarriersUrl is set then Barriers will be ignored. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyDirectionsLanguageThe language to be used when computing directions. The default is as defined in the specific routing network layer used in your RouteTask. By default, NAServer gets installed with en_US only - it is up to the server administrator to add additional languages.  
public PropertyDirectionsLengthUnitsThe length units to use when computing directions. The default is as defined in the specific routing network layer used in your RouteTask. Possible values are "esriFeet", "esriKilometers", "esriMeters", "esriMiles", "esriNauticalMiles" and "esriYards".  
public PropertyDirectionsTimeAttributeThe name of network attribute to use for the drive time when computing directions. The default is as defined in the specific routing network layer used in your RouteTask.  
public PropertyDoNotLocateOnRestrictedElementsIf true, avoid network elements restricted by barriers or due to restrictions specified in restrictionAttributes. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyFindBestSequenceIf true, the solver will optimize the order of the stops in the route (while taking into account preserveFirstStop and preserveLastStop if they were set to true).  
public PropertyIgnoreInvalidLocationsWhen false, the solve operation will fail if at least one of the stops specified cannot be located or reached.  
public PropertyImpedanceAttributeThe network attribute name to be used as the impedance attribute in analysis. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyOutputGeometryPrecisionThe precision of the output geometry after generalization. If 0, no generalization of output geometry is performed. If present and positive, it represents the MaximumAllowableOffset parameter - generalization is performed according to IPolycurve.Generalize. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyOutputGeometryPrecisionUnitsThe units of the output geometry precision. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyOutputLinesThe type of output lines to be generated in the result. The default is as defined in the specific routing network layer used in your RouteTask. Possible values are "esriNAOutputLineNone" (no line at all), "esriNAOutputLineStraight" (a straight line from start to end) and "esriNAOutputLineTrueShape". (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyOutSpatialReferenceThe well-known ID of the spatial reference for the geometries returned with the analysis results. If outSR is not specified, the geometries are returned in the spatial reference of the routing network layer used in your RouteTask. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyPolygonBarriersThe set of polygon barriers loaded as network locations during analysis. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyPolygonBarriersUrlGets or sets the polygon barriers Url. A Url can be provided to a location that returns a feature set of geometries. The polygons in the feature set will be used as polygon barriers. If PolygonBarriersUrl is set then PolygonBarriers will be ignored. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyPolylineBarriersThe set of polyline barriers loaded as network locations during analysis. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyPolylineBarriersUrlGets or sets the polyline barriers Url. A Url can be provided to a location that returns a feature set of geometries. The polylines in the feature set will be used as polyline barriers. If PolylineBarriersUrl is set then PolylineBarriers will be ignored. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyPreserveFirstStopIf true, the solver should keep the first stop fixed in the sequence (even when findBestSequence is true). Only applicable if findBestSequence is true. The default is as defined in the specific routing network layer used in your RouteTask.  
public PropertyPreserveLastStopIf true, the solver should keep the last stop fixed in the sequence (even when findBestSequence is true). Only applicable if findBestSequence is true. The default is as defined in the specific routing network layer used in your RouteTask.  
public PropertyRestrictionAttributesThe list of network attribute names to be used as restrictions with the analysis. The default is as defined in the specific routing network layer used in your RouteTask. Possible values are listed in the Service Directory under "Network Dataset -> Network Attributes". You can also specify a value of "none" to indicate that no network attributes should be used as restrictions. If you specify an empty array, it will default to the default of the service. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyRestrictUTurnsSpecifies how U-Turns should be handled. The default is as defined in the specific routing network layer used in your RouteTask. Possible values are "esriNFSBAllowBacktrack", "esriNFSBAtDeadEndsOnly" and "esriNFSBNoBacktrack". (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyReturnBarriersIf true, barriers will be returned in the barriers property of RouteSolveResult. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyReturnDirectionsIf true, directions will be generated and returned in the directions property of each RouteResult of the RouteEventArgs.  
public PropertyReturnPolygonBarriersIf true, polyline barriers will be returned in the polylineBarriers of the RouteSolveResult. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyReturnPolylineBarriersIf true, polygon barriers will be returned in the polygonBarriers of the RouteSolveResult. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyReturnRoutesIf true, routes will be generated and returned in the route property of each RouteResult of the RouteEventArgs.  
public PropertyReturnStopsIf true, stops will be returned in the stops property of RouteSolveResult.  
public PropertyReturnZIf true, Z values will be included in the results if the features have Z values. Otherwise Z values are not returned. The default is false. (Inherited from ESRI.ArcGIS.Client.Tasks.BaseRouteParameters)
public PropertyStartTimeThe time the route begins. If not specified, the solver will not start the route at a particular time.  
public PropertyStopsThe set of stops loaded as network locations during analysis. Can be either an instance of DataLayer or FeatureSet.  
public PropertyStopsUrlGets or sets the stops Url. A Url can be provided to a location that returns a feature set of geometries. The points in the feature set will be used as stops. If StopsUrl is set then Stops will be ignored.  
public PropertyUseHierarchyIf true, the hierarchy attribute for the network should be used in analysis. The default is as defined in the specific routing network layer used in your RouteTask.  
public PropertyUseTimeWindowsIf true, the solver should consider time windows. The default is as defined in the specific routing network layer used in your RouteTask.  
Top

See Also

© ESRI, Inc. All Rights Reserved.