語言

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

屬性值

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

適用於

另請參閱