RouteBuilderBase<TBuilder>.WithOrderRank(UInt16) Method
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.
Sets the order rank for the route and returns the current builder instance for further configuration.
public TBuilder WithOrderRank(ushort rank);
member this.WithOrderRank : uint16 -> 'Builder
Public Function WithOrderRank (rank As UShort) As TBuilder
Parameters
- rank
- UInt16
The rank value to assign to the route. Must be a non-negative number representing the route's priority in ordering.
Returns
The current RouteBuilder instance with the updated order rank.
Remarks
Use this method to specify the relative priority of the route when multiple routes are evaluated. Lower rank values typically indicate higher priority.