System::Globalization::StringInfo class
Contents
[
Hide
]StringInfo class
Splitter to iterate through string parts. 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 StringInfo : public virtual System::Object
Methods
| Method | Description |
|---|---|
| Equals(SharedPtr<Object>) override | |
| get_LengthInTextElements() const | Gets number of text items in StringInfo object. |
| get_String() const | Gets the value of the StringInfo object. |
| GetHashCode() const override | Analog of C# Object.GetHashCode() method. Enables hashing of custom objects. |
| static GetNextTextElement(const String&) | Gets first element in the specified string. |
| static GetNextTextElement(const String&, int) | Gets element at the specified index of the specified string. |
| static GetTextElementEnumerator(const String&) | Creates enumerator to iterate through string’s characters. |
| static GetTextElementEnumerator(const String&, int) | Creates enumerator to iterate through string’s characters starting at the specified index. |
| operator=(const StringInfo&) | |
| static ParseCombiningCharacters(const String&) | Gets indexes of the base characters, high surrogates and control characters. |
| set_String(const String&) | Sets the value of the StringInfo object. |
| StringInfo() | RTTI information. |
| StringInfo(const String&) | Constructor. |
| StringInfo(const StringInfo&) | |
| SubstringByTextElements(int) const | Gets substring of text elements from the specified text element through the last text element. |
| SubstringByTextElements(int, int) const | Gets substring of text elements from the specified text element through the specified number of text elements. |
See Also
- Class Object
- Namespace System::Globalization
- Library Aspose.PDF for C++