Freigeben über


SystemSound.Play Methode

Definition

Gibt den Systemsoundtyp wieder.

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

Beispiele

Im folgenden Codebeispiel wird die Verwendung der Asterisk Eigenschaft veranschaulicht.

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

Hinweise

Die Play Methode gibt den Sound asynchron wieder.

Gilt für:

Weitere Informationen