Udostępnij za pośrednictwem


RoutingHttpContextExtensions.GetRouteData(HttpContext) Metoda

Definicja

RouteData Pobiera element skojarzony z podanym httpContextelementem .

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

Element HttpContext skojarzony z bieżącym żądaniem.

Zwraca

Element RouteData.

Dotyczy