Class Route
Class holding the information for a single route.
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
  Namespace: Esri.ArcGISRuntime.Tasks.NetworkAnalysis
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class Route
  Properties
| Name | Description | 
|---|---|
| DirectionManeuvers | Gets the list of turn-by-turn directions for this route.  | 
      
| EndTime | Gets end time in UTC.  | 
      
| EndTimeShift | Gets the time-zone shift for the end time.  | 
      
| RouteGeometry | Gets the geometry for the full route (polyline).  | 
      
| RouteName | Gets route's name.  | 
      
| StartTime | Gets start time in UTC.  | 
      
| StartTimeShift | Gets the time-zone shift for the start time.  | 
      
| Stops | Gets the collection of output stops.  | 
      
| TotalLength | Gets total route length in meters.  | 
      
| TotalTime | Gets route total time.  | 
      
| TravelTime | Gets total travel time.  | 
      
| ViolationTime | Gets the total amount of additional time incurred due to time window violations.  | 
      
| WaitTime | Gets the total amount of additional time incurred due to waiting at time windows.  | 
      
Methods
| Name | Description | 
|---|---|
| GetCost(String) | Gets the associated cost for this attribute name.  | 
      
Applies to
| Target | Versions | 
|---|---|
| .NET Standard 2.0 | 100.3 - 100.15 | 
| .NET 6.0 | 100.13 - 100.15 | 
| .NET 6.0 Windows | 100.13 - 100.15 | 
| .NET Framework | 100.0 - 100.15 | 
| .NET 5 | 100.10 - 100.12 | 
| .NET Core 3.1 | 100.7 - 100.12 | 
| Xamarin.Android | 100.0 - 100.15 | 
| Xamarin.iOS | 100.0 - 100.15 | 
| UWP | 100.0 - 100.15 | 
Relevant samples
Find route: Display directions for a route between two points.
  Mobile map (search and route): Display maps and use locators to enable search and routing offline using a Mobile Map Package.
  Navigate route: Use a routing service to navigate between points.
  Offline routing: Solve a route on-the-fly using offline data.