Item
Starts or stops the beeping or vibrating of the device specified by the index.
In C#, this property is used as the indexer for the Beep class.
Syntax
■
[VB]
Public WriteOnly Property Item(ByVal device As Beep.EN_DEVICE) _
As Beep.EN_CTRL
[C#]
public Beep.EN_CTRL this[Beep.EN_DEVICE device]{set;}
Parameters
■
device
Beep device
Parameter values: As listed in EN_DEVICE (one of the values or a combination of the
■
Property
Status of the beeper or vibrator
Parameter values: As listed in EN_CTRL
Default value: EN_CTRL.OFF
Exceptions
■
Name of Exception
ArgumentException
[Ex.] Activate the beeper and vibrator.
[VB] MyBeep(Beep.Settings.EN_DEVICE.BUZZER _
Or Beep.Settings.EN_DEVICE.VIBRATOR) = Beep.EN_CTRL.ON
[C#] MyBeep[Beep.Settings.EN_DEVICE.BUZZER |
Beep.Settings.EN_DEVICE.VIBRATOR] = Beep.EN_CTRL.ON;
values)
Meaning
The specified parameter value(s) lies outside the permissible
range.
Specification of the beep device is invalid.
- 163 -