AsyncEnumerable.Skip<TSource> Metod

Definition

Kringgår ett angivet antal element i en sekvens och returnerar sedan de återstående 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)

Typparametrar

TSource

Typ av källelement.

Parametrar

source
IAsyncEnumerable<TSource>

Ett IAsyncEnumerable<T> att returnera element från.

count
Int32

Antalet element som ska hoppa över innan de återstående elementen returneras.

Returer

IAsyncEnumerable<TSource>

En IAsyncEnumerable<T> som innehåller de element som inträffar efter det angivna indexet i indatasekvensen.

Undantag

source är null.

Gäller för