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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.