SystemSounds.Hand 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得目前 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()