Partager via


HttpRouteCollection Constructor (String)

Initializes a new instance of the HttpRouteCollection class.

Namespace:  System.Web.Http
Assembly:  System.Web.Http (in System.Web.Http.dll)

Syntax

'Declaration
Public Sub New ( _
    virtualPathRoot As String _
)
'Usage
Dim virtualPathRoot As String

Dim instance As New HttpRouteCollection(virtualPathRoot)
public HttpRouteCollection(
    string virtualPathRoot
)
public:
HttpRouteCollection(
    String^ virtualPathRoot
)
new : 
        virtualPathRoot:string -> HttpRouteCollection
public function HttpRouteCollection(
    virtualPathRoot : String
)

Parameters

See Also

Reference

HttpRouteCollection Class

HttpRouteCollection Overload

System.Web.Http Namespace