DispatcherQueueTimer.IsRepeating 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.
Indicates whether the timer is repeating.
public:
property bool IsRepeating { bool get(); void set(bool value); };
bool IsRepeating();
void IsRepeating(bool value);
public bool IsRepeating { get; set; }
var boolean = dispatcherQueueTimer.isRepeating;
dispatcherQueueTimer.isRepeating = boolean;
Public Property IsRepeating As Boolean
Property Value
bool
true
indicates that the timer fires every DispatcherQueueTimer.Interval; false
means that it fires once, after DispatcherQueueTimer.Interval elapses.
Remarks
The default value of IsRepeating is true
. If you change the IsRepeating value while the timer is running, the timer will restart with the new value.
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro