Home Cooker Classes Others Rice CookerGX
Classes  >  timer  >  Interval(int)
timer class : Interval(int) setter

Description

Sets the value that indicates the interval of timer run, in millisecond.

Syntax

timerInstance.Interval = timeSpan

Arguments

ClassNameDescription
inttimeSpanValue that indicates the interval of timer run.

Return value

None

Sample code

//anyTimer is an instance of timer type.

anyTimer.Interval = 500;

Notes

The unit is in millisecond.

Zero or less cannot be specified.

Links for reference

None

Copyright © Rice All rights reserved.