Idioma

SystemSound.Play Método

Definição

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.

Aplica-se a

Ver também