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(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. |
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);
[System.Runtime.CompilerServices.OverloadResolutionPriority(-1)]
public static System.Text.SpanRuneEnumerator EnumerateRunes(this Span<char> span);
public static System.Text.SpanRuneEnumerator EnumerateRunes(this Span<char> span);
[<System.Runtime.CompilerServices.OverloadResolutionPriority(-1)>]
static member EnumerateRunes : Span<char> -> System.Text.SpanRuneEnumerator
static member EnumerateRunes : Span<char> -> System.Text.SpanRuneEnumerator
<Extension()>
Public Function EnumerateRunes (span As Span(Of Char)) As SpanRuneEnumerator
Parameters
Returns
A rune enumerator.
- Attributes
Remarks
Invalid sequences will be represented in the enumeration by ReplacementChar.
Applies to
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
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
.NET