AsyncEnumerable.Append<TSource> Methode

Definitie

Voegt een waarde toe aan het einde van de reeks.

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

Type parameters

TSource

Het type van de elementen van de bron.

Parameters

source
IAsyncEnumerable<TSource>

Een reeks waarden.

element
TSource

De waarde die moet worden toegevoegd aan de bron.

Retouren

IAsyncEnumerable<TSource>

Een nieuwe reeks die eindigt op element.

Uitzonderingen

source is null.

Van toepassing op