AsyncEnumerable.Reverse<TSource> Methode

Definitie

Hiermee wordt de volgorde van de elementen in een reeks omgedraaid.

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IAsyncEnumerable<TSource> ^ Reverse(System::Collections::Generic::IAsyncEnumerable<TSource> ^ source);
public static System.Collections.Generic.IAsyncEnumerable<TSource> Reverse<TSource>(this System.Collections.Generic.IAsyncEnumerable<TSource> source);
static member Reverse : System.Collections.Generic.IAsyncEnumerable<'Source> -> System.Collections.Generic.IAsyncEnumerable<'Source>
<Extension()>
Public Function Reverse(Of TSource) (source As IAsyncEnumerable(Of TSource)) As IAsyncEnumerable(Of TSource)

Type parameters

TSource

Het type van de elementen van de bron.

Parameters

source
IAsyncEnumerable<TSource>

Een reeks waarden die moeten worden omgekeerd.

Retouren

IAsyncEnumerable<TSource>

Een reeks waarvan de elementen overeenkomen met die van de invoerreeks in omgekeerde volgorde.

Uitzonderingen

source is null.

Van toepassing op