|
| .NET Framework Class Library |
| BlockingCollection<(Of <(T>)>)..::.Count Property |
| BlockingCollection<(Of <(T>)>) Class See Also Send Feedback |
Gets the number of items contained in the BlockingCollection<(Of <(T>)>).
Namespace:
System.Collections.Concurrent
Assembly:
System.Threading (in System.Threading.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property Count As Integer |
| C# |
|---|
public int Count { get; } |
Field Value
The number of items contained in the BlockingCollection<(Of <(T>)>).Implements
ICollection..::.Count
Exceptions
| Exception | Condition |
|---|---|
| System..::.ObjectDisposedException | The BlockingCollection<(Of <(T>)>) has been disposed. |