语言

SystemSounds.Hand 属性

定义

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

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

属性值

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

示例

下面的代码示例演示了该 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()

适用于

另请参阅