AsyncEnumerable.Skip<TSource> Methode

Definitie

Slaat een opgegeven aantal elementen in een reeks over en retourneert vervolgens de resterende elementen.

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

Type parameters

TSource

Het type van de elementen van de bron.

Parameters

source
IAsyncEnumerable<TSource>

Een IAsyncEnumerable<T> om elementen van te retourneren.

count
Int32

Het aantal elementen dat moet worden overgeslagen voordat de resterende elementen worden geretourneerd.

Retouren

IAsyncEnumerable<TSource>

Een IAsyncEnumerable<T> die de elementen bevat die plaatsvinden na de opgegeven index in de invoerreeks.

Uitzonderingen

source is null.

Van toepassing op