ParallelEnumerable.WithMergeOptions<TSource> メソッド

定義

このクエリのマージ オプションを設定します。このオプションでは、クエリによる出力のバッファー処理方法を指定します。

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

型パラメーター

TSource

sourceの要素の型。

パラメーター

source
ParallelQuery<TSource>

オプションを設定する ParallelQuery。

mergeOptions
ParallelMergeOptions

このクエリに設定するマージ オプション。

返品

ParallelQuery は、ソースと同じクエリを表しますが、登録済みのマージ オプションを使用します。

例外

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

mergeOptions が有効な ParallelMergeOptions 値ではありません。

mergeOptions はクエリで複数回使用されます。

適用対象

こちらもご覧ください