ListFormatter.FormattedList.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.
Returns an enumerator over the formatted list's UTF-16 code units.
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 characters in index order through CharAt(Int32).
Implements
Remarks
A surrogate pair is returned as two Char values, not as one Unicode scalar value.