Name

TextElementEnumerator

Synopsis

This class provides enumeration for individual text elements in a string composed of complex characters. This enumerator is retrieved by StringInfo.GetTextElementEnumerator( ).

public class TextElementEnumerator : IEnumerator {
// Public Instance Properties
   public object Current{get; }          
// implements IEnumerator
   public int ElementIndex{get; }
// Public Instance Methods
   public string GetTextElement( );
   public bool MoveNext( );
// implements IEnumerator
   public void Reset( );   
// implements IEnumerator
}

Returned By

StringInfo.GetTextElementEnumerator( )

Get C# in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.