Tone.Play Method

Generates the tone as a simple monotonic sound based on the CurrentPitch, CurrentDuration and CurrentVolume properties of the Tone instance.

Syntax

public int Play()

Parameters

None.

Return Value

A result code that indicates either success or a particular fault condition. This value can be tested with helper methods.

More Information

Tone Class