Share via


HttpRouteData Constructor (IHttpRoute)

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 _
)
'Usage
Dim route As IHttpRoute

Dim instance As New HttpRouteData(route)
public HttpRouteData(
    IHttpRoute route
)
public:
HttpRouteData(
    IHttpRoute^ route
)
new : 
        route:IHttpRoute -> HttpRouteData
public function HttpRouteData(
    route : IHttpRoute
)

Parameters

See Also

Reference

HttpRouteData Class

HttpRouteData Overload

System.Web.Http.Routing Namespace