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

属性值

与当前 Windows 声音方案中的 Question 程序事件关联的 SystemSound

示例

下面的代码示例演示如何使用 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()

适用于

另请参阅