OrderablePartitioner<TSource>.GetPartitions(Int32) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
基になるコレクションを、指定された数の順序付けられたパーティションにパーティション分割します。
public:
override System::Collections::Generic::IList<System::Collections::Generic::IEnumerator<TSource> ^> ^ GetPartitions(int partitionCount);
public override System.Collections.Generic.IList<System.Collections.Generic.IEnumerator<TSource>> GetPartitions(int partitionCount);
override this.GetPartitions : int -> System.Collections.Generic.IList<System.Collections.Generic.IEnumerator<'Source>>
Public Overrides Function GetPartitions (partitionCount As Integer) As IList(Of IEnumerator(Of TSource))
パラメーター
- partitionCount
- Int32
作成するパーティションの数。
返品
IList<IEnumerator<TSource>>
partitionCount列挙子を含むリスト。
注釈
既定の実装では、 GetOrderablePartitions と同じ動作が提供されます。ただし、返される一連のパーティションでは要素のキーが提供されません。
詳細については、「 PLINQ と TPL のカスタム パーティショナー」を参照してください。