Click or drag to resize
CultureInfoProviderGetSafeCulture Method (Int32)

Note: This API is now obsolete.

Returns CultureInfo object for specified culture ID 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(
	int cultureId
)

Parameters

cultureId
Type: SystemInt32
Culture ID

Return Value

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