System::Timers::Timer class

Timer class

Timer that calls delegate in a loop.

class Timer : public System::ComponentModel::Component

Methoden

MethodeBeschrijving
Close()Stopt timer, maakt toegewezen bronnen vrij.
Dispose()Stopt timer, maakt toegewezen bronnen vrij.
get_AutoReset() constControleert of timer zich in auto-reset modus bevindt.
get_Enabled() constControleert of timer actief is.
get_Interval() constHaalt timerinterval op.
get_IsStopped() constControleert of timer gestopt is.
set_AutoReset(bool)Stelt de timer in op auto-reset-modus of schakelt deze uit.
set_Enabled(bool)Start of stopt de timer. Het starten van de timer herstart de tijdtelling niet als de timer al actief is.
set_Interval(double)Stelt het timer-interval in.
Start()Start de timer. Herstart de tijdtelling niet als de timer al actief is.
Stop()Stopt de timer.
Timer()RTTI-informatie.
Timer(double)Construeert een gestopte timer met het opgegeven interval.

Zie ook