Condividi tramite


RoutingHttpContextExtensions.GetRouteData(HttpContext) Metodo

Definizione

Ottiene l'oggetto RouteData associato all'oggetto httpContext specificato.

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

Parametri

httpContext
HttpContext

Oggetto HttpContext associato alla richiesta corrente.

Restituisce

Oggetto RouteData.

Si applica a