RouteData Class
Encapsulates information about a route.
Assembly: System.Web (in System.Web.dll)
| Name | Description | |
|---|---|---|
![]() | RouteData() | Initializes a new instance of the RouteData class. |
![]() | RouteData(RouteBase, IRouteHandler) | Initializes a new instance of the RouteData class by using the specified route and route handler. |
| Name | Description | |
|---|---|---|
![]() | DataTokens | Gets a collection of custom values that are passed to the route handler but are not used when ASP.NET routing determines whether the route matches a request. |
![]() | Route | Gets or sets the object that represents a route. |
![]() | RouteHandler | Gets or sets the object that processes a requested route. |
![]() | Values | Gets a collection of URL parameter values and default values for the route. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | 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 the default hash function. (Inherited from Object.) |
![]() | GetRequiredString(String) | Retrieves the value with the specified identifier. |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
The RouteData class contains the values for a requested route. Typically, you retrieve a RouteData object by calling the GetRouteData method.
Available since 3.5
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
.jpeg?cs-save-lang=1&cs-lang=fsharp)
.jpeg?cs-save-lang=1&cs-lang=fsharp)
.jpeg?cs-save-lang=1&cs-lang=fsharp)