RouteAvoidType Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
| Name | Description |
|---|---|
| RouteAvoidType(String) |
Initializes a new instance of RouteAvoidType. |
Properties
| Name | Description |
|---|---|
| AlreadyUsedRoads |
Avoids using the same road multiple times. Most useful in conjunction with |
| 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
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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. |