Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Encapsulates information regarding the HTTP route.
Namespace: System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
Inheritance Hierarchy
System.Object
System.Web.Http.Routing.HttpRouteData
Syntax
public class HttpRouteData : IHttpRouteData
public ref class HttpRouteData : IHttpRouteData
type HttpRouteData =
class
interface IHttpRouteData
end
Public Class HttpRouteData
Implements IHttpRouteData
Constructors
Name | Description | |
---|---|---|
![]() |
HttpRouteData(IHttpRoute) | Initializes a new instance of the HttpRouteData class. |
![]() |
HttpRouteData(IHttpRoute, HttpRouteValueDictionary) | Initializes a new instance of the HttpRouteData class. |
Properties
Name | Description | |
---|---|---|
![]() |
Route | Gets the object that represents the route. |
![]() |
Values | Gets a collection of URL parameter values and default values for the route. |
Methods
Name | Description | |
---|---|---|
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | (Inherited from Object.) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Object.) |
Extension Methods
Name | Description | |
---|---|---|
![]() |
GetSubRoutes() | If a route is really a union of other routes, return the set of sub routes.(Defined by HttpRouteDataExtensions.) |
![]() |
RemoveOptionalRoutingParameters() | Removes all optional parameters that do not have a value from the route data.(Defined by HttpRouteDataExtensions.) |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
System.Web.Http.Routing Namespace
Return to top