DispatcherQueueTimer.Interval Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Remarks
If you change the interval while the timer is running, the timer will restart with the new value.