Muokkaa

Jaa


OrderablePartitioner<TSource>.KeysOrderedAcrossPartitions Property

Definition

Gets whether elements in an earlier partition always come before elements in a later partition.

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

Property Value

true if the elements in an earlier partition always come before elements in a later partition; otherwise, false.

Remarks

If KeysOrderedAcrossPartitions returns true, each element in partition 0 has a smaller order key than any element in partition 1, each element in partition 1 has a smaller order key than any element in partition 2, and so on.

For more information, see Custom Partitioners for PLINQ and TPL.

Applies to

See also