Прочетете на английски Редактиране

Споделяне чрез


Route.GetRouteData(HttpContextBase) Method

Definition

Returns information about the requested route.

C#
public override 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.

Applies to

Продукт Версии
.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