This documentation is archived and is not being maintained.

StringInfo.GetTextElementEnumerator Method

Returns an enumerator that can iterate through the text elements of a string.

Overload List

Returns an enumerator that can iterate through the text elements of the entire string.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Shared Function GetTextElementEnumerator(String) As TextElementEnumerator
[C#] public static TextElementEnumerator GetTextElementEnumerator(string);
[C++] public: static TextElementEnumerator* GetTextElementEnumerator(String*);
[JScript] public static function GetTextElementEnumerator(String) : TextElementEnumerator;

Returns an enumerator that can iterate through the text elements of the string, starting at the specified index.

Supported by the .NET Compact Framework.

[Visual Basic] Overloads Public Shared Function GetTextElementEnumerator(String, Integer) As TextElementEnumerator
[C#] public static TextElementEnumerator GetTextElementEnumerator(string, int);
[C++] public: static TextElementEnumerator* GetTextElementEnumerator(String*, int);
[JScript] public static function GetTextElementEnumerator(String, int) : TextElementEnumerator;

See Also

StringInfo Class | StringInfo Members | System.Globalization Namespace

Show: