ConcurrentBag<T>.IsEmpty ConcurrentBag<T>.IsEmpty ConcurrentBag<T>.IsEmpty ConcurrentBag<T>.IsEmpty Property

定义

获取一个指示 ConcurrentBag<T> 是否为空的值。Gets a value that indicates whether the ConcurrentBag<T> is empty.

public:
 property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

属性值

如果 true 为空,则为 ConcurrentBag<T>;否则为 falsetrue if the ConcurrentBag<T> is empty; otherwise, false.

适用于

另请参阅