Sdílet prostřednictvím


SystemSounds.Exclamation Vlastnost

Definice

Získá zvuk asociované s událostí Exclamation programu v aktuálním zvukovém schématu Systému Windows.

public:
 static property System::Media::SystemSound ^ Exclamation { System::Media::SystemSound ^ get(); };
public static System.Media.SystemSound Exclamation { get; }
static member Exclamation : System.Media.SystemSound
Public Shared ReadOnly Property Exclamation As SystemSound

Hodnota vlastnosti

Přidružená SystemSound k Exclamation události programu v aktuálním zvukovém schématu Windows.

Příklady

Následující příklad kódu ukazuje použití Exclamation vlastnosti.

// Plays the sound associated with the Exclamation system event.
SystemSounds::Exclamation->Play();
// Plays the sound associated with the Exclamation system event.
SystemSounds.Exclamation.Play();
' Plays the sound associated with the Exclamation system event.
SystemSounds.Exclamation.Play()

Platí pro

Viz také