Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Route Properties

The Route type exposes the following members.

  Name Description
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 RouteExistingFiles Gets or sets a value that indicates whether ASP.NET routing should handle URLs that match an existing file. (Inherited from RouteBase.)
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.
© 2015 Microsoft