Bagikan melalui


SystemSound.Play Metode

Definisi

Memainkan jenis suara sistem.

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

Contoh

Contoh kode berikut menunjukkan penggunaan Asterisk properti .

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

Keterangan

Metode ini Play memainkan suara secara asinkron.

Berlaku untuk

Lihat juga