CultureHelperIsValidCultureInfoName Method |
Check if culture code is valid DotNet culture code
(All cultures that ship with the .NET Framework, including neutral and specific
cultures, cultures installed in the Windows operating system, and
custom cultures created by the user).
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax public static bool IsValidCultureInfoName(
string cultureCode,
bool ignoreCase = true
)
Parameters
- cultureCode
- Type: SystemString
Culture code - ignoreCase (Optional)
- Type: SystemBoolean
Specifies whether check for case
Return Value
Type:
BooleanSee Also