SystemSound.Play Methode

Definitie

Hiermee wordt het geluidstype van het systeem afgespeeld.

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

Voorbeelden

In het volgende codevoorbeeld ziet u hoe de Asterisk eigenschap wordt gebruikt.

// 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()

Opmerkingen

De Play methode speelt het geluid asynchroon af.

Van toepassing op

Zie ook