語言

OrderablePartitioner<TSource>.KeysOrderedAcrossPartitions 屬性

定義

判斷先前劃分中的元素是否總是排在後續劃分的元素之前。

public:
 property bool KeysOrderedAcrossPartitions { bool get(); };
public bool KeysOrderedAcrossPartitions { get; }
member this.KeysOrderedAcrossPartitions : bool
Public ReadOnly Property KeysOrderedAcrossPartitions As Boolean

屬性值

true如果早期劃分中的元素總是排在後期劃分的元素之前;否則,。 false

備註

若 KeysOrderedAcrossPartitions 返回為真,則劃區 0 中的每個元素的序鍵比劃區 1 中的任何元素小,劃分區 1 中的每個元素的序鍵也小於劃分區 2 的任何元素,依此類推。

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

適用於

另請參閱