Redigera

Dela via


Route.GetVirtualPath(RequestContext, RouteValueDictionary) Method

Definition

Returns information about the URL that is associated with the route.

public:
 override System::Web::Routing::VirtualPathData ^ GetVirtualPath(System::Web::Routing::RequestContext ^ requestContext, System::Web::Routing::RouteValueDictionary ^ values);
public override System.Web.Routing.VirtualPathData GetVirtualPath (System.Web.Routing.RequestContext requestContext, System.Web.Routing.RouteValueDictionary values);
override this.GetVirtualPath : System.Web.Routing.RequestContext * System.Web.Routing.RouteValueDictionary -> System.Web.Routing.VirtualPathData
Public Overrides Function GetVirtualPath (requestContext As RequestContext, values As RouteValueDictionary) As VirtualPathData

Parameters

requestContext
RequestContext

An object that encapsulates information about the requested route.

values
RouteValueDictionary

An object that contains the parameters for a route.

Returns

An object that contains information about the URL that is associated with the route.

Applies to

See also