ParallelEnumerable.Skip<TSource> メソッド

定義

並列シーケンス内の指定された数の要素をバイパスし、残りの要素を返します。

public:
generic <typename TSource>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TSource> ^ Skip(System::Linq::ParallelQuery<TSource> ^ source, int count);
public static System.Linq.ParallelQuery<TSource> Skip<TSource>(this System.Linq.ParallelQuery<TSource> source, int count);
static member Skip : System.Linq.ParallelQuery<'Source> * int -> System.Linq.ParallelQuery<'Source>
<Extension()>
Public Function Skip(Of TSource) (source As ParallelQuery(Of TSource), count As Integer) As ParallelQuery(Of TSource)

型パラメーター

TSource

sourceの要素の型。

パラメーター

source
ParallelQuery<TSource>

要素を返すシーケンス。

count
Int32

残りの要素を返す前にスキップする要素の数。

返品

入力シーケンス内の指定したインデックスの後に出現する要素を含むシーケンス。

例外

source は null 参照です (Visual Basicでは Nothing)。

クエリは、 WithCancellation<TSource>(ParallelQuery<TSource>, CancellationToken)を介して渡されたトークンで取り消されました。

Count が Int32.MaxValue より大きい

クエリの評価中に 1 つ以上の例外が発生しました。

注釈

ソース > カウントする場合。Count() では、要素は返されません。

適用対象

こちらもご覧ください