Jaa


DispatcherQueueTimer.Interval Property

Definition

Gets and sets the interval for the timer.

public:
 property TimeSpan Interval { TimeSpan get(); void set(TimeSpan value); };
TimeSpan Interval();

void Interval(TimeSpan value);
public System.TimeSpan Interval { get; set; }
var timeSpan = dispatcherQueueTimer.interval;
dispatcherQueueTimer.interval = timeSpan;
Public Property Interval As TimeSpan

Property Value

The amount of time before the timer ticks. Defaults to 0 seconds.

Remarks

If you change the DispatcherQueueTimer.Interval while the timer is running, the timer will restart with the new value.

Applies to