HiResTimerInterval Property
Gets or sets the interval, in milliseconds, before
Elapsed event is triggered.
Fractional values are allowed, too. When zero, the
Elapsed event is triggered as often as possible.
Default value:
1.0, if initialized by the default constructor; otherwise, as specified in the constructor.
Namespace: KGySoft.CoreLibrariesAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public float Interval { get; set; }
Public Property Interval As Single
Get
Set
public:
property float Interval {
float get ();
void set (float value);
}
member Interval : float32 with get, set
Property Value
Single
The interval in milliseconds. For example,
1000 represents one second and
0.001 represents one microsecond.
Please note that if
Interval is smaller than the value of the
SpinWaitThreshold property,
then the timer may consume much CPU when running.