FormattedNumberRange.GetEnumerator Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates an enumerator for the characters in the formatted range.
public System.Collections.Generic.IEnumerator<char> GetEnumerator();
abstract member GetEnumerator : unit -> System.Collections.Generic.IEnumerator<char>
override this.GetEnumerator : unit -> System.Collections.Generic.IEnumerator<char>
Returns
An enumerator that reads the formatted range in index order.
Implements
Remarks
This .NET member reads each UTF-16 code unit through CharAt, starting at index zero and continuing while the index is less than Length(). A surrogate pair is returned as two separate characters.
The behavior is defined by the character-enumerator generator.