CountdownEvent.IsSet 屬性

定義

指出 CountdownEvent 物件的目前計數是否已達到零。

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

屬性值

如果目前計數為零,則為 true;否則為 false

備註

CountdownEvent當倒數計時達到零時,不會引發事件。 相反地 CurrentCount ,屬性等於零,而 IsSet 屬性等於 true

適用於