System::Globalization::TextInfo class

TextInfo class

Defines locale-specific text properties. Setter operations are only enabled on non-read-only objects. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.

class TextInfo : public System::ICloneable

Methods

MethodDescription
Clone() overrideRTTI information.
Equals(SharedPtr<Object>) override
virtual get_ANSICodePage() constGets ANSI codepage.
get_CultureName() constGets cluture name.
virtual get_EBCDICCodePage() constGets EBCDIC codepage.
get_IsReadOnly() constChecks if format is read-only.
get_IsRightToLeft() constChecks if text is written left to right.
get_LCID() constGets locale ID.
virtual get_ListSeparator() constGets list separator.
virtual get_MacCodePage() constGets Macintosh codepage.
virtual get_OEMCodePage() constGets OEM codepage.
GetHashCode() const overrideAnalog of C# Object.GetHashCode() method. Enables hashing of custom objects.
operator=(const TextInfo&)
static ReadOnly(const TextInfoPtr&)Gets a read only version of culture.
virtual set_ListSeparator(String)Sets list separator.
TextInfo(const TextInfo&)RTTI information.
virtual ToLower(char_t) constConverts character to lower case.
virtual ToLower(String) constConverts string to lower case.
ToString() const overrideAnalog of C# Object.ToString() method. Enables converting custom objects to string.
ToTitleCase(String) constConverts string to title case (except for acronyms that are in upper case already).
virtual ToUpper(char_t) constConverts character to upper case.
virtual ToUpper(String) constConverts string to upper case.

See Also