ICookieManager.GetRequestCookie(HttpContext, String) Método

Definição

Recupere um cookie do nome fornecido da solicitação.

public:
 System::String ^ GetRequestCookie(Microsoft::AspNetCore::Http::HttpContext ^ context, System::String ^ key);
public string GetRequestCookie (Microsoft.AspNetCore.Http.HttpContext context, string key);
public string? GetRequestCookie (Microsoft.AspNetCore.Http.HttpContext context, string key);
abstract member GetRequestCookie : Microsoft.AspNetCore.Http.HttpContext * string -> string
Public Function GetRequestCookie (context As HttpContext, key As String) As String

Parâmetros

context
HttpContext
key
String

Retornos

Aplica-se a