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

適用於

另請參閱