SystemSounds.Hand 属性

定义

获取与当前 Windows 声音方案中的 Hand 程序事件关联的声音。Gets the sound associated with the Hand program event in the current Windows sound scheme.

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

属性值

SystemSound

与当前 Windows 声音方案中的 Hand 程序事件关联的 SystemSoundA SystemSound associated with the Hand program event in the current Windows sound scheme.

示例

下面的代码示例演示属性的用法 HandThe following code example demonstrates the use of the Hand property.

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

适用于

另请参阅