CookieRequestCultureProvider.MakeCookieValue(RequestCulture) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.