Share via


RouteAttribute.IRouteTemplateProvider.Order Property

Definition

Gets the route order. The order determines the order of route execution. Routes with a lower order value are tried first. When a route doesn't specify a value, it gets a default value of 0. A null value for the Order property means that the user didn't specify an explicit order for the route.

property Nullable<int> Microsoft::AspNetCore::Mvc::Routing::IRouteTemplateProvider::Order { Nullable<int> get(); };
int? Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider.Order { get; }
member this.Microsoft.AspNetCore.Mvc.Routing.IRouteTemplateProvider.Order : Nullable<int>
 ReadOnly Property Order As Nullable(Of Integer) Implements IRouteTemplateProvider.Order

Property Value

Implements

Applies to