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
- route
Type: System.Web.Http.Routing.IHttpRoute
An object that defines the route.