Skip to main content

BingRouteOptions Members

Contains settings that define the parameters for calculating a route via the Microsoft Bing service.

Constructors

Name Description
BingRouteOptions() Initializes a new instance of the BingRouteOptions class with default settings.

Properties

Name Description
AvoidRoads Gets or sets an option that allows limitation of the use of the toll or highway roads.
DateTime Specifies a date time value used to calculate the best route.
DistanceUnit Gets or sets a value that defines how to measure distances.
Mode Gets or sets a value that defines how a route should be calculated.
OptimizeWaypoints Specifies whether the service rearranges route waypoints to reduce route cost.
RouteOptimization Gets or sets a value that defines how to optimize the route calculation.

Methods

Name Description
Assign(BaseOptions) Copies all settings from the options object passed as a parameter. Inherited from BaseOptions.
BeginUpdate() Locks the BaseOptions object by disallowing visual updates until the EndUpdate or CancelUpdate method is called. Inherited from BaseOptions.
CancelUpdate() Unlocks the BaseOptions object after it has been locked by the BeginUpdate method, without causing an immediate visual update. Inherited from BaseOptions.
EndUpdate() Unlocks the BaseOptions object after a call to the BeginUpdate method and causes an immediate visual update. Inherited from BaseOptions.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Resets all map notification settings to the default values. Inherited from MapNotificationOptions.
ToString() Returns the textual representation of the BingRouteOptions.

Events

Name Description
Changed Occurs after the map setting has been changed. Inherited from MapNotificationOptions.
See Also