共用方式為


SystemSounds.Question 屬性

定義

取得目前 Windows 音效方案中與 Question 程式事件相關的聲音。

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

屬性值

這是 SystemSoundQuestion 目前 Windows 音效方案中程式事件相關的。

範例

以下程式碼範例示範了該 Question 屬性的使用方式。

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

適用於

另請參閱