SpanRuneEnumerator Struct
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.
Provides an enumerator for the Rune values represented by a span containing UTF-16 text.
public value class SpanRuneEnumerator
public ref struct SpanRuneEnumerator
type SpanRuneEnumerator = struct
Public Structure SpanRuneEnumerator
- Inheritance
This type is not intended to be referenced directly by application code. Instead, use the EnumerateRunes method along with language-specific enumeration constructs to enumerate Rune values within spans.
The foreach
statement of the C# language (for each
in C++, For Each
in Visual Basic) hides the complexity of enumerators. Therefore, using foreach
is recommended, instead of directly manipulating the enumerator.
Get |
Returns the current enumerator instance. |
Move |
Advances the enumerator to the next Rune of the span. |
제품 | 버전 |
---|---|
.NET | Core 3.0, Core 3.1, 5, 6, 7, 8, 9 |
.NET 피드백
.NET은(는) 오픈 소스 프로젝트입니다. 다음 링크를 선택하여 피드백을 제공해 주세요.