Click or drag to resize
CultureInfoProviderGetSafeCulture Method (String)

Note: This API is now obsolete.

Returns CultureInfo object for specified culture code or null if it does not exist.

Namespace: CMS.Localization
Assembly: CMS.Localization (in CMS.Localization.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This method is obsolete use GetCultureInfo instead.")]
public static CultureInfo GetSafeCulture(
	string cultureCode
)

Parameters

cultureCode
Type: SystemString
Culture code

Return Value

Type: CultureInfo
CultureInfo with the specified code or null
See Also