String.EnumerateRunes 方法

定义

从此字符串返回 Rune 的枚举。Returns an enumeration of Rune from this string.

public:
 System::Text::StringRuneEnumerator EnumerateRunes();
public System.Text.StringRuneEnumerator EnumerateRunes ();
member this.EnumerateRunes : unit -> System.Text.StringRuneEnumerator
Public Function EnumerateRunes () As StringRuneEnumerator

返回

一个字符串 Rune 枚举器。A string rune enumerator.

注解

无效的序列通过 Rune.ReplacementChar在枚举中表示。Invalid sequences are represented in the enumeration by Rune.ReplacementChar.

适用于