RouteCollectionExtensions.GetVirtualPathForArea RouteCollectionExtensions.GetVirtualPathForArea Method

Definition

Overloads

GetVirtualPathForArea(RouteCollection, RequestContext, RouteValueDictionary) GetVirtualPathForArea(RouteCollection, RequestContext, RouteValueDictionary)

Returns an object that contains information about the route and virtual path that are the result of generating a URL in the current area.

GetVirtualPathForArea(RouteCollection, RequestContext, String, RouteValueDictionary) GetVirtualPathForArea(RouteCollection, RequestContext, String, RouteValueDictionary)

Returns an object that contains information about the route and virtual path that are the result of generating a URL in the current area.

GetVirtualPathForArea(RouteCollection, RequestContext, RouteValueDictionary) GetVirtualPathForArea(RouteCollection, RequestContext, RouteValueDictionary)

Returns an object that contains information about the route and virtual path that are the result of generating a URL in the current area.

public static System.Web.Routing.VirtualPathData GetVirtualPathForArea (this System.Web.Routing.RouteCollection routes, System.Web.Routing.RequestContext requestContext, System.Web.Routing.RouteValueDictionary values);
static member GetVirtualPathForArea : System.Web.Routing.RouteCollection * System.Web.Routing.RequestContext * System.Web.Routing.RouteValueDictionary -> System.Web.Routing.VirtualPathData

Parameters

routes
RouteCollection RouteCollection

An object that contains the routes for the applications.

requestContext
RequestContext RequestContext

An object that encapsulates information about the requested route.

values
RouteValueDictionary RouteValueDictionary

An object that contains the parameters for a route.

Returns

An object that contains information about the route and virtual path that are the result of generating a URL in the current area.

GetVirtualPathForArea(RouteCollection, RequestContext, String, RouteValueDictionary) GetVirtualPathForArea(RouteCollection, RequestContext, String, RouteValueDictionary)

Returns an object that contains information about the route and virtual path that are the result of generating a URL in the current area.

public static System.Web.Routing.VirtualPathData GetVirtualPathForArea (this System.Web.Routing.RouteCollection routes, System.Web.Routing.RequestContext requestContext, string name, System.Web.Routing.RouteValueDictionary values);
static member GetVirtualPathForArea : System.Web.Routing.RouteCollection * System.Web.Routing.RequestContext * string * System.Web.Routing.RouteValueDictionary -> System.Web.Routing.VirtualPathData

Parameters

routes
RouteCollection RouteCollection

An object that contains the routes for the applications.

requestContext
RequestContext RequestContext

An object that encapsulates information about the requested route.

name
String String

The name of the route to use when information about the URL path is retrieved.

values
RouteValueDictionary RouteValueDictionary

An object that contains the parameters for a route.

Returns

An object that contains information about the route and virtual path that are the result of generating a URL in the current area.

Applies to