Muokkaa

Jaa


SystemSound.Play Method

Definition

Plays the system sound type.

public:
 void Play();
public void Play ();
member this.Play : unit -> unit
Public Sub Play ()

Examples

The following code example demonstrates the use of the Asterisk property.

// Plays the sound associated with the Asterisk system event.
SystemSounds::Asterisk->Play();
// Plays the sound associated with the Asterisk system event.
SystemSounds.Asterisk.Play();
' Plays the sound associated with the Asterisk system event.
SystemSounds.Asterisk.Play()

Remarks

The Play method plays the sound asynchronously.

Applies to

See also