Share via


MapRoute.ViolatedRestrictions Property

Definition

Gets a value that indicates if any restrictions have been violated by the route.

public:
 property MapRouteRestrictions ViolatedRestrictions { MapRouteRestrictions get(); };
MapRouteRestrictions ViolatedRestrictions();
public MapRouteRestrictions ViolatedRestrictions { get; }
var mapRouteRestrictions = mapRoute.violatedRestrictions;
Public ReadOnly Property ViolatedRestrictions As MapRouteRestrictions

Property Value

The MapRouteRestrictions that have been violated by the route.

Applies to