OrderablePartitioner<TSource>(Boolean, Boolean, Boolean) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called from constructors in derived classes to initialize the OrderablePartitioner<TSource> class with the specified constraints on the index keys.
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)
Parameters
- keysOrderedInEachPartition
- Boolean
Indicates whether the elements in each partition are yielded in the order of increasing keys.
- keysOrderedAcrossPartitions
- Boolean
Indicates whether elements in an earlier partition always come before elements in a later partition. If 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.
- keysNormalized
- Boolean
Indicates whether keys are normalized. If true, all order keys are distinct integers in the range [0 .. numberOfElements-1]. If false, order keys must still be distinct, but only their relative order is considered, not their absolute values.
Remarks
For more information, see Custom Partitioners for PLINQ and TPL.
Applies to
See also
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om