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

适用于

另请参阅