This documentation is archived and is not being maintained.

Route Properties

The Route type exposes the following members.

Public property Constraints Gets or sets a dictionary of expressions that specify valid values for a URL parameter.
Public property DataTokens Gets or sets custom values that are passed to the route handler, but which are not used to determine whether the route matches a URL pattern.
Public property Defaults Gets or sets the values to use if the URL does not contain all the parameters.
Public property RouteHandler Gets or sets the object that processes requests for the route.
Public property Url Gets or sets the URL pattern for the route.