Επεξεργασία

Κοινή χρήση μέσω


Partitioner<TSource>.SupportsDynamicPartitions Property

Definition

Gets whether additional partitions can be created dynamically.

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

Property Value

true if the Partitioner<TSource> can create partitions dynamically as they are requested; false if the Partitioner<TSource> can only allocate partitions statically.

Remarks

If a derived class does not override and implement GetDynamicPartitions, SupportsDynamicPartitions should return false. The value of SupportsDynamicPartitions should not vary over the lifetime of this instance. For more information, see Custom Partitioners for PLINQ and TPL.

Applies to

See also