Route.GetRouteData(HttpContextBase) Method

Definition

Returns information about the requested route.

public:
 override System::Web::Routing::RouteData ^ GetRouteData(System::Web::HttpContextBase ^ httpContext);
public override System.Web.Routing.RouteData GetRouteData (System.Web.HttpContextBase httpContext);
override this.GetRouteData : System.Web.HttpContextBase -> System.Web.Routing.RouteData
Public Overrides Function GetRouteData (httpContext As HttpContextBase) As RouteData

Parameters

httpContext
HttpContextBase

An object that encapsulates information about the HTTP request.

Returns

RouteData

An object that contains the values from the route definition.

Applies to

See also