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.

如果此时钟的时间线AutoReverse的设置为true, 则完整迭代包含正向反向对, 而不只是这些段中的一个。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.

适用于

另请参阅