Share via


HttpVirtualPathData Constructor

Initializes a new instance of the HttpVirtualPathData class.

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

Syntax

'Declaration
Public Sub New ( _
    route As IHttpRoute, _
    virtualPath As String _
)
'Usage
Dim route As IHttpRoute
Dim virtualPath As String

Dim instance As New HttpVirtualPathData(route, virtualPath)
public HttpVirtualPathData(
    IHttpRoute route,
    string virtualPath
)
public:
HttpVirtualPathData(
    IHttpRoute^ route, 
    String^ virtualPath
)
new : 
        route:IHttpRoute * 
        virtualPath:string -> HttpVirtualPathData
public function HttpVirtualPathData(
    route : IHttpRoute, 
    virtualPath : String
)

Parameters

  • virtualPath
    Type: System.String
    The URL that was created from the route definition.

See Also

Reference

HttpVirtualPathData Class

System.Web.Http.Routing Namespace