Share via


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

See Also

Reference

HttpRouteData Class

HttpRouteData Overload

System.Web.Http.Routing Namespace