Share via


CancellableBlockingCollection.Count Property

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.Utility.Collections
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)

Usage

'Usage
Dim instance As CancellableBlockingCollection(Of T)
Dim value As Integer

value = instance.Count

Syntax

'Declaration
Public ReadOnly Property Count As Integer
public int Count { get; }
public:
property int Count {
    int get ();
}
/** @property */
public int get_Count ()
public function get Count () : int

Property Value

Returns Int32.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Target Platforms

See Also

Reference

CancellableBlockingCollection Generic Class
CancellableBlockingCollection Members
Microsoft.OneGet.Utility.Collections Namespace