GetCultureInfo()
Contents
[
Hide
]CultureInfo::GetCultureInfo(const String&) method
Gets culture by its name. Same as CreateSpecificCulture.
static CultureInfoPtr System::Globalization::CultureInfo::GetCultureInfo(const String &name)
Arguments
Parameter | Type | Description |
---|---|---|
name | const String& | Predefined culture name or existing culture object’s name. |
Return Value
Newly created culture object.
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)
Arguments
Parameter | Type | Description |
---|---|---|
name | const String& | Culture name. |
text_and_compare_culture_name | const String& | Culture name used for TextInfo and CompareInfo objects. |
Return Value
Culture object.
CultureInfo::GetCultureInfo(int32_t) method
Gets culture by id.
static CultureInfoPtr System::Globalization::CultureInfo::GetCultureInfo(int32_t culture)
Arguments
Parameter | Type | Description |
---|---|---|
culture | int32_t | Culture identifier. |
Return Value
Newly created culture object.
See Also
- Typedef CultureInfoPtr
- Class String
- Class CultureInfo
- Namespace System::Globalization
- Library Aspose.Slides