HttpRoute Constructor (String)
Initializes a new instance of the HttpRoute class.
Namespace: System.Web.Http.Routing
Assembly: System.Web.Http (in System.Web.Http.dll)
Syntax
'Declaration
Public Sub New ( _
routeTemplate As String _
)
'Usage
Dim routeTemplate As String
Dim instance As New HttpRoute(routeTemplate)
public HttpRoute(
string routeTemplate
)
public:
HttpRoute(
String^ routeTemplate
)
new :
routeTemplate:string -> HttpRoute
public function HttpRoute(
routeTemplate : String
)
Parameters
- routeTemplate
Type: System.String
The route template.