共用方式為


SystemSounds.Asterisk 屬性

定義

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

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

屬性值

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

範例

下列程式代碼範例示範 如何使用 Asterisk 屬性。

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

適用於

另請參閱