Dela via


CookieRequestCultureProvider.MakeCookieValue(RequestCulture) Method

Definition

Creates a string representation of a RequestCulture for placement in a 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

Parameters

requestCulture
RequestCulture

The RequestCulture.

Returns

The cookie value.

Applies to