共用方式為


CookieRequestCultureProvider.MakeCookieValue(RequestCulture) 方法

定義

建立的字串表示 RequestCulture ,用於在 Cookie 中放置。

public:
 static System::String ^ MakeCookieValue(Microsoft::AspNetCore::Localization::RequestCulture ^ requestCulture);
public static string MakeCookieValue (Microsoft.AspNetCore.Localization.RequestCulture requestCulture);
static member MakeCookieValue : Microsoft.AspNetCore.Localization.RequestCulture -> string
Public Shared Function MakeCookieValue (requestCulture As RequestCulture) As String

參數

requestCulture
RequestCulture

RequestCulture

傳回

Cookie 值。

適用於