HttpRouteData Constructor (IHttpRoute, HttpRouteValueDictionary)
Initializes a new instance of the HttpRouteData class.
Namespace: System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
route As IHttpRoute, _
values As HttpRouteValueDictionary _
)
'Usage
Dim route As IHttpRoute
Dim values As HttpRouteValueDictionary
Dim instance As New HttpRouteData(route, values)
public HttpRouteData(
IHttpRoute route,
HttpRouteValueDictionary values
)
public:
HttpRouteData(
IHttpRoute^ route,
HttpRouteValueDictionary^ values
)
new :
route:IHttpRoute *
values:HttpRouteValueDictionary -> HttpRouteData
public function HttpRouteData(
route : IHttpRoute,
values : HttpRouteValueDictionary
)
Parameters
- route
Type: System.Web.Http.Routing.IHttpRoute
An object that defines the route.
- values
Type: System.Web.Http.Routing.HttpRouteValueDictionary
The value.