Share via


IHttpRoute.GetVirtualPath Method (HttpRequestMessage, IDictionary<String, Object>)

 

Gets a virtual path data based on the route and the values provided.

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

Syntax

IHttpVirtualPathData GetVirtualPath(
    HttpRequestMessage request,
    IDictionary<string, object> values
)
IHttpVirtualPathData^ GetVirtualPath(
    HttpRequestMessage^ request,
    IDictionary<String^, Object^>^ values
)
abstract GetVirtualPath : 
        request:HttpRequestMessage *
        values:IDictionary<string, Object> -> IHttpVirtualPathData
Function GetVirtualPath (
    request As HttpRequestMessage,
    values As IDictionary(Of String, Object)
) As IHttpVirtualPathData

Parameters

Return Value

Type: System.Web.Http.Routing.IHttpVirtualPathData

The virtual path data.

See Also

IHttpRoute Interface
System.Web.Http.Routing Namespace

Return to top