Share via


IDirectRouteBuilder.Precedence Property

 

Gets or sets the route precedence.

Namespace:   System.Web.Mvc.Routing
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

Syntax

decimal Precedence { get; set; }
property Decimal Precedence {
    Decimal get();
    void set(Decimal value);
}
abstract Precedence : decimal with get, set
Property Precedence As Decimal

Property Value

Type: System.Decimal

The route precedence.

Remarks

The route order disambiguates multiple matching routes with the same order. The intended use of precedence is for default, automatically computed disambiguation based on inline constraint types.

See Also

IDirectRouteBuilder Interface
System.Web.Mvc.Routing Namespace

Return to top