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.LocalizationAssembly: CMS.Localization (in CMS.Localization.dll) Version: 8.2.23
Syntax [ObsoleteAttribute("This method is obsolete use GetCultureInfo instead.")]
public static CultureInfo GetSafeCulture(
string cultureCode
)
Parameters
- cultureCode
- Type: SystemString
Culture code
Return Value
Type:
CultureInfoCultureInfo with the specified code or null
See Also