RouteResult Class

 

This documentation is no longer available on MSDN. It is available as a CHM or PDF download. For the newest Geocoding, Imagery, Routing and Traffic services, see Bing Maps REST Services. 

Represents a calculated route.

Syntax

public class RouteResult
Public Class RouteResult

Constructor

Name

Description

RouteResult 

Initializes a new instance of a RouteResult object.

Public Properties

Name

Description

Legs 

A RouteLeg Class array, where each element represents a portion of the route between waypoints.

RoutePath 

A RoutePath Class object containing the raw calculated route data.

Summary 

A RouteSummary Class object containing route summary information, such as total distance and time.

See Also

RouteResponse.Result Property
MajorRoutesResponse.Routes Property