Partitioner<TSource>.SupportsDynamicPartitions Partitioner<TSource>.SupportsDynamicPartitions Partitioner<TSource>.SupportsDynamicPartitions Partitioner<TSource>.SupportsDynamicPartitions Property

定義

取得值,這個值指出是否能夠動態建立額外的分割。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

屬性值

true如果可以Partitioner<TSource>在要求時動態建立分割區, 則為,如果只能以靜態方式配置資料分割, 則為Partitioner<TSource>falsetrue if the Partitioner<TSource> can create partitions dynamically as they are requested; false if the Partitioner<TSource> can only allocate partitions statically.

備註

如果衍生類別未覆寫和執行GetDynamicPartitions, SupportsDynamicPartitions應該會傳回 false。If a derived class does not override and implement GetDynamicPartitions, SupportsDynamicPartitions should return false. 的值SupportsDynamicPartitions應該不會隨著這個實例的存留期而改變。The value of SupportsDynamicPartitions should not vary over the lifetime of this instance. 如需詳細資訊,請參閱 PLINQ 和 TPL 的自訂 PartitionerFor more information, see Custom Partitioners for PLINQ and TPL.

適用於

另請參閱