
- 193 -
Frequency
Sets or acquires the beeping frequency of the beeper.
■ Syntax
[VB]
Public Property Frequency As Integer
[C#]
public int Frequency {get; set;}
■ Property
Beeping frequency of the beeper (Hz)
Parameter values
: 0 (698 Hz), 1 (1396 Hz), 2 (2793 Hz), and 199 to 32767 (inclusive)
Default value
: 2
■ 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 a value between 3 and 198 (inclusive) is specified, no exceptions will be thrown, however,
the beeper will not sound.
[Ex.] Set the beep frequency to 698Hz.
[VB] MyBeep.Frequency = 0
[C#] MyBeep.Frequency = 0;
Comentários a estes Manuais