MapRoute.ViolatedRestrictions 属性

定义

获取一个值,该值指示路由是否违反了任何限制。

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

属性值

路由违反的 MapRouteRestrictions

适用于