CultureInfoProviderGetCultureInfoFromDB Method (String, Boolean) |
Returns the CultureInfo structure for the specified culture from database.
Namespace: CMS.LocalizationAssembly: CMS.Localization (in CMS.Localization.dll) Version: 10.0.0
Syntax 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:
CultureInfoSee Also