System::Globalization::CultureInfo::GetCultureInfo method

CultureInfo::GetCultureInfo(const String&) method

Gets culture by its name. Same as CreateSpecificCulture.

static CultureInfoPtr System::Globalization::CultureInfo::GetCultureInfo(const String &name)
ParameterTypeDescription
nameconst String&Predefined culture name or existing culture object’s name.

ReturnValue

Newly created culture object.

See Also

CultureInfo::GetCultureInfo(const String&, const String&) method

Gets culture by its name.

static CultureInfoPtr System::Globalization::CultureInfo::GetCultureInfo(const String &name, const String &text_and_compare_culture_name)
ParameterTypeDescription
nameconst String&Culture name.
text_and_compare_culture_nameconst String&Culture name used for TextInfo and CompareInfo objects.

ReturnValue

Culture object.

See Also

CultureInfo::GetCultureInfo(int32_t) method

Gets culture by id.

static CultureInfoPtr System::Globalization::CultureInfo::GetCultureInfo(int32_t culture)
ParameterTypeDescription
cultureint32_tCulture identifier.

ReturnValue

Newly created culture object.

See Also