Sdílet prostřednictvím


RoutingHttpContextExtensions.GetRouteData(HttpContext) Metoda

Definice

Získá objekt RouteData přidružený k zadanému httpContext.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Routing::RouteData ^ GetRouteData(Microsoft::AspNetCore::Http::HttpContext ^ httpContext);
public static Microsoft.AspNetCore.Routing.RouteData GetRouteData (this Microsoft.AspNetCore.Http.HttpContext httpContext);
static member GetRouteData : Microsoft.AspNetCore.Http.HttpContext -> Microsoft.AspNetCore.Routing.RouteData
<Extension()>
Public Function GetRouteData (httpContext As HttpContext) As RouteData

Parametry

httpContext
HttpContext

Přidružený HttpContext k aktuálnímu požadavku.

Návraty

Hodnota RouteData

Platí pro