Clock.CurrentIteration 屬性

定義

取得這個時鐘的目前反覆項目。Get the current iteration of this clock.

public:
 property Nullable<int> CurrentIteration { Nullable<int> get(); };
public Nullable<int> CurrentIteration { get; }
member this.CurrentIteration : Nullable<int>
Public ReadOnly Property CurrentIteration As Nullable(Of Integer)

屬性值

這個時鐘在其目前使用中週期內的目前反覆運算,如果時鐘已停止,則為 nullThis clock's current iteration within its current active period, or null if this clock is stopped.

備註

時鐘的第一個反復專案的值為1。A clock's first iteration has a value of 1.

如果此時鐘的時間軸具有AutoReversetrue設定, 則完整的反復專案會包含正向反向配對, 而不是只有其中一個區段。If this clock's timeline has an AutoReverse setting of true, a full iteration consists of a forward-reverse pair, not just one of these segments.

不論目前的反復專案為何, 搜尋時鐘都會將其目前的反復專案傳回1。Regardless of its current iteration, seeking a clock returns its current iteration to 1. 重新開機時鐘也會將其目前的反復專案傳回1。Restarting a clock also returns its current iteration to 1.

適用於

另請參閱