次の方法で共有


ICookieManager.GetRequestCookie(HttpContext, String) メソッド

定義

要求から指定された名前の Cookie を取得します。

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

パラメーター

context
HttpContext
key
String

戻り値

適用対象