Aracılığıyla paylaş


RouteType Struct

Definition

The RouteType.

public readonly struct RouteType : IEquatable<Azure.Maps.Routing.RouteType>
type RouteType = struct
Public Structure RouteType
Implements IEquatable(Of RouteType)
Inheritance
RouteType
Implements

Constructors

RouteType(String)

Initializes a new instance of RouteType.

Properties

Economy

A route balanced by economy and speed.

Fastest

The fastest route.

Shortest

The shortest route by distance.

Thrilling

Includes interesting or challenging roads and uses as few motorways as possible. You can choose the level of turns included and also the degree of hilliness. See the hilliness and windingness parameters for how to set this. There is a limit of 900 km on routes planned with routeType=thrilling.

Methods

Equals(RouteType)

Indicates whether the current object is equal to another object of the same type.

ToString()

Returns the fully qualified type name of this instance.

Operators

Equality(RouteType, RouteType)

Determines if two RouteType values are the same.

Implicit(String to RouteType)

Converts a string to a RouteType.

Inequality(RouteType, RouteType)

Determines if two RouteType values are not the same.

Applies to