Click or drag to resize
CultureInfoProviderGetCultureInfo Method (Int32)

Note: This API is now obsolete.

Returns CultureInfo object for specified culture ID.

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

Parameters

cultureId
Type: SystemInt32
ID of culture to retrieve

Return Value

Type: CultureInfo
See Also