Share via

Partitioner<TSource>.SupportsDynamicPartitions Property


Gets whether additional partitions can be created dynamically.

 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.


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