Timer.ActiveCount 屬性

定義

取得目前有效的計時器數。 有註冊的有效計時器會在未來某個時間發出滴答聲,且尚未受到取消。

public:
 static property long ActiveCount { long get(); };
public static long ActiveCount { get; }
member this.ActiveCount : int64
Public Shared ReadOnly Property ActiveCount As Long

屬性值

Int64

目前有效的計時器數。

適用於