Click or drag to resize
CultureInfoProviderGetCultureInfo Method (String)

Note: This API is now obsolete.

Returns CultureInfo object for specified culture code.

Namespace: CMS.Localization
Assembly: CMS.Globalization (in CMS.Globalization.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use ICultureInfoProvider.Get(string) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - CultureInfo.Provider.")]
public static CultureInfo GetCultureInfo(
	string cultureCode
)

Parameters

cultureCode
Type: SystemString
Code of culture to retrieve

Return Value

Type: CultureInfo
See Also