ToneIndicator.Tone1Volume Property
2/27/2008
Gets or sets the volume of the first tone.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Syntax
'Declaration
Public MustOverride Property Tone1Volume As Integer
public abstract int Tone1Volume { get; set; }
public:
virtual property int Tone1Volume {
int get () abstract;
void set (int value) abstract;
}
/** @property */
public abstract int get_Tone1Volume ()
/** @property */
public abstract void set_Tone1Volume (int value)
public abstract function get Tone1Volume () : int
public abstract function set Tone1Volume (value : int)
Remarks
Contains the volume of the first tone in percent of the device's capability, where 0 (or less) is silent and 100 (or more) is maximum volume.
If the device does not support user-defined volume (that is, if the CapVolume property is false), any value greater than zero causes the Tone Indicator to use its default value.
Tone1Volume is set and kept current by the Service Object while the device is enabled.
Accessing Tone1Volume can throw general exceptions and a PosControlException exception. In this case, the PostControlException.ErrorCode property is set to one of the following values:
Value |
Meaning |
Illegal |
The specified value is not valid. |
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread-safe. Any instance members are not guaranteed to be thread-safe.
See Also
Reference
ToneIndicator Class
ToneIndicator Members
Microsoft.PointOfService Namespace