BumpBar.AutoToneFrequency Property
Contains the frequency of the automatic tone.
Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)
Usage
'Usage
Dim bumpBar1 As BumpBar
Dim returnValue As Integer
returnValue = bumpBar1.AutoToneFrequency
Dim sampleValue As Integer
bumpBar1.AutoToneFrequency = sampleValue
Syntax
'Declaration
Public MustOverride Property AutoToneFrequency() As Integer
public abstract int AutoToneFrequency {get; set;}
public: property virtual Int32 AutoToneFrequency{
Int32 get();
Void set(Int32);
}
public abstract int get_AutoToneFrequency();
public abstract void set_AutoToneFrequency(int);
public abstract function get AutoToneFrequency() : int;
public abstract function set AutoToneFrequency(int);
Remarks
Sets the frequency (in Hertz) of the automatic tone for the bump bar unit specified by the CurrentUnitId property.
AutoToneFrequency is typically initialized to the default value for each online bump bar unit when the device is first enabled following the Open method. It should then be kept current by the service object while the device is enabled.
When accessed, AutoToneFrequency can throw the following exception:
Value |
Meaning |
Illegal |
An illegal value was specified. The DeviceErrorEventArgs.ErrorCodeExtended property is updated before return. |
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.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows Longhorn, and Windows 2000
Target Platforms
See Also
Reference
BumpBar Class
BumpBar Members
Microsoft.PointOfService Namespace
CurrentUnitId