Olvasás angol nyelven Szerkesztés

Megosztás a következőn keresztül:


AsyncEnumerable.Skip<TSource> Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

Termék Verziók
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided), 10
.NET Standard 2.0 (package-provided)