RouteAttribute.Order Property
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.
Gets the route order. The order determines the order of route execution. Routes with a lower order
value are tried first. If an action defines a route by providing an IRouteTemplateProvider
with a non null
order, that order is used instead of this value. If neither the action nor the
controller defines an order, a default value of 0 is used.
public:
property int Order { int get(); void set(int value); };
public int Order { get; set; }
member this.Order : int with get, set
Public Property Order As Integer