Click or drag to resize
CultureInfoProviderGetCultureInfoFromDB Method (String, Boolean)
Returns the CultureInfo structure for the specified culture from database.

Namespace: CMS.Localization
Assembly: CMS.Localization (in CMS.Localization.dll) Version: 9.0.0
Syntax
C#
protected virtual CultureInfo GetCultureInfoFromDB(
	string cultureCode,
	bool getAlias
)

Parameters

cultureCode
Type: SystemString
Culture code name or culture alias
getAlias
Type: SystemBoolean
Indicates whether culture should be selected by culture code or alias

Return Value

Type: CultureInfo
See Also