SystemSound.Play Método
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Toca o tipo de som do sistema.
public:
void Play();
public void Play();
member this.Play : unit -> unit
Public Sub Play ()
Exemplos
O seguinte exemplo de código demonstra a utilização da Asterisk propriedade.
// 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()
Observações
O Play método reproduz o som de forma assíncrona.