CookieRequestCultureProvider.ParseCookieValue(String) 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.
Parses a RequestCulture from the specified cookie value.
Returns null
if parsing fails.
public:
static Microsoft::AspNetCore::Localization::ProviderCultureResult ^ ParseCookieValue(System::String ^ value);
public static Microsoft.AspNetCore.Localization.ProviderCultureResult ParseCookieValue (string value);
public static Microsoft.AspNetCore.Localization.ProviderCultureResult? ParseCookieValue (string value);
static member ParseCookieValue : string -> Microsoft.AspNetCore.Localization.ProviderCultureResult
Public Shared Function ParseCookieValue (value As String) As ProviderCultureResult
Parameters
- value
- String
The cookie value to parse.
Returns
The RequestCulture or null
if parsing fails.