OnTime
Sets or acquires the ON/OFF duration of the beeper or vibrator.
■
Syntax
[VB]
Public Property
[C#]
public int OnTime{get; set;}
■
Property
ON duration of the beeper or vibrator (in units of 100 msec)
Parameter values: 0 to 255
Default value: 5
Exceptions
■
None
Note
■
If a value outside the permissible range is specified, no exceptions will be thrown
immediately, however, an exception will be thrown later when the start of beeping or
vibrating is specified with an Item property.
If this property is set to "0," the beeper or the vibrator will not sound or vibrate.
[Ex.] Set the ON time to 1 second.
[VB] MyBeep.OnTime = 10
[C#] MyBeep.OnTime = 10;
OnTime
As Integer
- 164 -