RouteBase.GetRouteData(HttpContextBase) Method

Definition

When overridden in a derived class, returns route information about the request.

public abstract System.Web.Routing.RouteData GetRouteData (System.Web.HttpContextBase httpContext);

Parameters

httpContext
HttpContextBase

An object that encapsulates information about the HTTP request.

Returns

An object that contains the values from the route definition if the route matches the current request, or null if the route does not match the request.

Applies to

Proizvod Verzije
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also