Click or drag to resize
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.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
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: Boolean
See Also