共用方式為


RouteAvoidType Struct

Definition

The RouteAvoidType.

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

Constructors

RouteAvoidType(String)

Initializes a new instance of RouteAvoidType.

Properties

AlreadyUsedRoads

Avoids using the same road multiple times. Most useful in conjunction with routeType=thrilling.

BorderCrossings

Avoids border crossings in route calculation.

Carpools

Avoids routes that require the use of carpool (HOV/High Occupancy Vehicle) lanes.

Ferries

Avoids ferries.

Motorways

Avoids motorways.

TollRoads

Avoids toll roads.

UnpavedRoads

Avoids unpaved roads.

Methods

Equals(RouteAvoidType)

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(RouteAvoidType, RouteAvoidType)

Determines if two RouteAvoidType values are the same.

Implicit(String to RouteAvoidType)

Converts a String to a RouteAvoidType.

Inequality(RouteAvoidType, RouteAvoidType)

Determines if two RouteAvoidType values are not the same.

Applies to