Język

AsyncEnumerable.Skip<TSource> Metoda

Definicja

Pomija określoną liczbę elementów w sekwencji, a następnie zwraca pozostałe elementy.

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)

Parametry typu

TSource

Typ elementów źródła.

Parametry

source
IAsyncEnumerable<TSource>

Element IAsyncEnumerable<T> do zwracania elementów z.

count
Int32

Liczba elementów do pominięcia przed zwróceniem pozostałych elementów.

Zwraca

IAsyncEnumerable<TSource>

Element IAsyncEnumerable<T> zawierający elementy, które występują po określonym indeksie w sekwencji danych wejściowych.

Wyjątki

Parametr source ma wartość null.

Dotyczy