Route.GetVirtualPath(RequestContext, RouteValueDictionary) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.