SystemSounds.Hand 属性

定义

获取与当前 Windows 声音方案中的 Hand 程序事件关联的声音。

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

属性值

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

示例

下面的代码示例演示如何使用 Hand 属性。

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

适用于

另请参阅