語言

OrderablePartitioner<TSource>(Boolean, Boolean, Boolean) 建構函式

定義

從衍生類別中的建構子呼叫,以索引鍵的指定限制初始化類別 OrderablePartitioner<TSource> 。

protected:
 OrderablePartitioner(bool keysOrderedInEachPartition, bool keysOrderedAcrossPartitions, bool keysNormalized);
protected OrderablePartitioner(bool keysOrderedInEachPartition, bool keysOrderedAcrossPartitions, bool keysNormalized);
new System.Collections.Concurrent.OrderablePartitioner<'Source> : bool * bool * bool -> System.Collections.Concurrent.OrderablePartitioner<'Source>
Protected Sub New (keysOrderedInEachPartition As Boolean, keysOrderedAcrossPartitions As Boolean, keysNormalized As Boolean)

參數

keysOrderedInEachPartition
Boolean

表示每個分割中的元素是否依鍵數遞增順序被產生。

keysOrderedAcrossPartitions
Boolean

表示先前劃分中的元素是否總是排在後續劃分的元素之前。 若為真,則劃分區 0 中的每個元素的順序鍵比劃分區 1 中的任何元素小,分割區 1 中的每個元素的順序鍵也比劃分區 2 中的任何元素小,依此類推。

keysNormalized
Boolean

顯示鍵是否已正規化。 若為真,所有序鍵皆為 [0 .. Elements-1 的編號。 若為假,順序鍵仍須不同,但僅考慮其相對順序,而非絕對值。

備註

如需詳細資訊,請參閱 PLINQ 和 TPL 的自定義分割器。

適用於

另請參閱