ParallelEnumerable.Reverse<TSource> メソッド

定義

並列シーケンス内の要素の順序を反転します。

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

型パラメーター

TSource

sourceの要素の型。

パラメーター

source
ParallelQuery<TSource>

反転する値のシーケンス。

返品

入力シーケンスの要素が逆順に対応するシーケンス。

例外

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

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

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

適用対象

こちらもご覧ください