OrderablePartitioner<TSource>.KeysOrderedAcrossPartitions 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷先前劃分中的元素是否總是排在後續劃分的元素之前。
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 的自定義分割器。