SystemSounds.Exclamation 屬性

定義

取得目前 Windows 音效配置中,與 Exclamation 程式事件相關的音效。

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

屬性值

目前 Windows 音效配置中,與 Exclamation 程式事件相關的 SystemSound

範例

下列程式代碼範例示範 屬性的使用 Exclamation

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

適用於

另請參閱