BlockingCollection<T>.BoundedCapacity 屬性

定義

取得這個 BlockingCollection<T> 執行個體的界限容量。

public:
 property int BoundedCapacity { int get(); };
public int BoundedCapacity { get; }
member this.BoundedCapacity : int
Public ReadOnly Property BoundedCapacity As Integer

屬性值

這個集合的限定容量,如果沒有提供系結,則為 -1。

例外狀況

適用於

另請參閱