BlockingCollection<T>.BoundedCapacity 屬性

定義

取得這個 BlockingCollection<T> 執行個體的界限容量。Gets the bounded capacity of this BlockingCollection<T> instance.

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

屬性值

此集合的界限容量,如果未提供界限,則為 int.MaxValue。The bounded capacity of this collection, or int.MaxValue if no bound was supplied.

例外狀況

適用於

另請參閱