Language

FormattedNumberRange.GetEnumerator Method

Definition

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.

Applies to