RouteData Class

Definition

Information about the current routing path.

public ref class RouteData
public class RouteData
type RouteData = class
Public Class RouteData
Inheritance
RouteData

Constructors

RouteData()

Creates a new instance of RouteData instance.

RouteData(RouteData)

Creates a new instance of RouteData instance with values copied from other.

RouteData(RouteValueDictionary)

Creates a new instance of RouteData instance with the specified values.

Properties

DataTokens

Gets the data tokens produced by routes on the current routing path.

Routers

Gets the list of IRouter instances on the current routing path.

Values

Gets the values produced by routes on the current routing path.

Methods

PushState(IRouter, RouteValueDictionary, RouteValueDictionary)

Creates a snapshot of the current state of the RouteData before appending router to Routers, merging values into Values, and merging dataTokens into DataTokens.

Call Restore() to restore the state of this RouteData to the state at the time of calling PushState(IRouter, RouteValueDictionary, RouteValueDictionary).

Applies to