This documentation is archived and is not being maintained.
Route Members
Visual Studio 2008
Provides properties and methods for defining a route and for obtaining information about the route.
The Route type exposes the following members.
| Name | Description | |
|---|---|---|
|
Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetRouteData | Returns information about the requested route. (Overrides RouteBase::GetRouteData(HttpContextBase).) |
|
GetType | Gets the type of the current instance. (Inherited from Object.) |
|
GetVirtualPath | Returns information about the URL that is associated with the route. (Overrides RouteBase::GetVirtualPath(RequestContext, RouteValueDictionary).) |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
ProcessConstraint | Determines whether a parameter value matches the constraint for that parameter. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
Constraints | Gets or sets a dictionary of expressions that specify valid values for a URL parameter. |
|
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. |
|
Defaults | Gets or sets the values to use if the URL does not contain all the parameters. |
|
RouteHandler | Gets or sets the object that processes requests for the route. |
|
Url | Gets or sets the URL pattern for the route. |
Show: