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 值。

适用于