SystemSound.Play Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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.