IHttpRoute.GetVirtualPath Method
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
'Declaration
Function GetVirtualPath ( _
request As HttpRequestMessage, _
values As IDictionary(Of String, Object) _
) As IHttpVirtualPathData
'Usage
Dim instance As IHttpRoute
Dim request As HttpRequestMessage
Dim values As IDictionary(Of String, Object)
Dim returnValue As IHttpVirtualPathData
returnValue = instance.GetVirtualPath(request, _
values)
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 : HttpRequestMessage,
values : IDictionary<String, Object>
) : IHttpVirtualPathData
Parameters
request
Type: HttpRequestMessageThe request message.
values
Type: System.Collections.Generic.IDictionary<String, Object>The values.
Return Value
Type: System.Web.Http.Routing.IHttpVirtualPathData
The virtual path data.