Op Englesch liesen Editéieren

Deelen iwwer


AsyncEnumerable.Skip<TSource> Method

Definition

Bypasses a specified number of elements in a sequence and then returns the remaining elements.

C#
public static System.Collections.Generic.IAsyncEnumerable<TSource> Skip<TSource>(this System.Collections.Generic.IAsyncEnumerable<TSource> source, int count);

Type Parameters

TSource

The type of the elements of source.

Parameters

source
IAsyncEnumerable<TSource>

An IAsyncEnumerable<T> to return elements from.

count
Int32

The number of elements to skip before returning the remaining elements.

Returns

IAsyncEnumerable<TSource>

An IAsyncEnumerable<T> that contains the elements that occur after the specified index in the input sequence.

Exceptions

source is null.

Applies to

Produkt Versiounen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided), 10
.NET Standard 2.0 (package-provided)