Share via


ToneIndicator.MelodyType Property (POS for .NET v1.14 SDK Documentation)

3/2/2014

Gets or sets the selected melody tones for the tone indicator device.

Namespace: Microsoft.PointOfService
Assembly: Microsoft.PointOfService (in microsoft.pointofservice.dll)

Syntax

'Declaration
Public MustOverride Property MelodyType As MelodyType
public abstract MelodyType MelodyType { get; set; }
public:
virtual property MelodyType MelodyType {
    MelodyType get () abstract;
    void set (MelodyType value) abstract;
}
/** @property */
public abstract MelodyType get_MelodyType ()

/** @property */
public abstract void set_MelodyType (MelodyType value)
public abstract function get MelodyType () : MelodyType

public abstract function set MelodyType (value : MelodyType)

Property Value

Returns MelodyType.

Remarks

If the tone indicator device does not support user-defined melody tones (CapMelody returns a value of zero), then any value greater than zero indicates that the tone indicator device uses the default tone value.

This property is set to None when the device is first enabled after the Open method is called.

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