MajorRoutesRequest 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. 

Contains the properties needed to make a CalculateRoutesFromMajorRoads service request. This class inherits from the RequestBase Class.

Syntax

public class MajorRoutesRequest : RequestBase
Public Class MajorRoutesRequest Inherits RequestBase

Constructor

Name

Description

MajorRoutesRequest 

Initializes a new instance of a MajorRoutesRequest object.

Public Properties

Name

Description

Credentials

A Credentials Class object that identifies the requestor. Required. (Inherited from the RequestBase Class.)

Culture

A string specifying the culture in which to return results. Optional. The default value is "en-US". (Inherited from the RequestBase Class.)

Destination 

A Waypoint Class object specifying the location where all of the major routes should end. Required.

ExecutionOptions

An ExecutionOptions Class object specifying calculation and return options of the request. Optional. (Inherited from the RequestBase Class.)

Options 

A MajorRoutesOptions Class object used to refine the route request. Optional.

UserProfile

A UserProfile Class object containing user information helpful in service calculations. Optional. (Inherited from the RequestBase Class.)

See Also

RouteServiceClient.CalculateRoutesFromMajorRoads Method