IHttpRoute.GetVirtualPath Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Compute a URI 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 ( _
controllerContext As HttpControllerContext, _
values As IDictionary(Of String, Object) _
) As IHttpVirtualPathData
IHttpVirtualPathData GetVirtualPath(
HttpControllerContext controllerContext,
IDictionary<string, Object> values
)
IHttpVirtualPathData^ GetVirtualPath(
HttpControllerContext^ controllerContext,
IDictionary<String^, Object^>^ values
)
abstract GetVirtualPath :
controllerContext:HttpControllerContext *
values:IDictionary<string, Object> -> IHttpVirtualPathData
function GetVirtualPath(
controllerContext : HttpControllerContext,
values : IDictionary<String, Object>
) : IHttpVirtualPathData
Parameters
- controllerContext
Type: System.Web.Http.Controllers.HttpControllerContext
The controller context.
- values
Type: System.Collections.Generic.IDictionary<String, Object>
The values.
Return Value
Type: System.Web.Http.Routing.IHttpVirtualPathData