AsyncEnumerable.Skip<TSource> Méthode

Définition

Contourne un nombre spécifié d’éléments dans une séquence, puis retourne les éléments restants.

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)

Paramètres de type

TSource

Type des éléments de la source.

Paramètres

source
IAsyncEnumerable<TSource>

À IAsyncEnumerable<T> partir duquel renvoyer des éléments.

count
Int32

Nombre d’éléments à ignorer avant de retourner les éléments restants.

Retours

IAsyncEnumerable<TSource>

Qui IAsyncEnumerable<T> contient les éléments qui se produisent après l’index spécifié dans la séquence d’entrée.

Exceptions

source a la valeur null.

S’applique à