Dela via


TravelMode Struct

Definition

The TravelMode.

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

Constructors

TravelMode(String)

Initializes a new instance of TravelMode.

Properties

Bicycle

The returned routes are optimized for bicycles, including use of bicycle lanes.

Bus

The returned routes are optimized for buses, including the use of bus only lanes. BETA functionality.

Car

The returned routes are optimized for cars.

Motorcycle

The returned routes are optimized for motorcycles. BETA functionality.

Pedestrian

The returned routes are optimized for pedestrians, including the use of sidewalks.

Taxi

The returned routes are optimized for taxis. BETA functionality.

Truck

The returned routes are optimized for commercial vehicles, like for trucks.

Van

The returned routes are optimized for vans. BETA functionality.

Methods

Equals(TravelMode)

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

Determines if two TravelMode values are the same.

Implicit(String to TravelMode)

Converts a string to a TravelMode.

Inequality(TravelMode, TravelMode)

Determines if two TravelMode values are not the same.

Applies to