MemoryExtensions.EnumerateRunes 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.
Overloads
EnumerateRunes(ReadOnlySpan<Char>) |
Returns an enumeration of Rune from the provided read-only span. |
EnumerateRunes(Span<Char>) |
Returns an enumeration of Rune from the provided span. |
EnumerateRunes(ReadOnlySpan<Char>)
Returns an enumeration of Rune from the provided read-only span.
public:
[System::Runtime::CompilerServices::Extension]
static System::Text::SpanRuneEnumerator EnumerateRunes(ReadOnlySpan<char> span);
public static System.Text.SpanRuneEnumerator EnumerateRunes (this ReadOnlySpan<char> span);
static member EnumerateRunes : ReadOnlySpan<char> -> System.Text.SpanRuneEnumerator
<Extension()>
Public Function EnumerateRunes (span As ReadOnlySpan(Of Char)) As SpanRuneEnumerator
Parameters
- span
- ReadOnlySpan<Char>
The source span.
Returns
A rune enumerator.
Remarks
Invalid sequences will be represented in the enumeration by Rune.ReplacementChar.
Applies to
EnumerateRunes(Span<Char>)
Returns an enumeration of Rune from the provided span.
public:
[System::Runtime::CompilerServices::Extension]
static System::Text::SpanRuneEnumerator EnumerateRunes(Span<char> span);
public static System.Text.SpanRuneEnumerator EnumerateRunes (this Span<char> span);
static member EnumerateRunes : Span<char> -> System.Text.SpanRuneEnumerator
<Extension()>
Public Function EnumerateRunes (span As Span(Of Char)) As SpanRuneEnumerator
Parameters
Returns
A rune enumerator.
Remarks
Invalid sequences will be represented in the enumeration by ReplacementChar.