共用方式為


UITestBuilderButton.AcceleratorKey 屬性

這個 API 支援 .NET Framework 基礎結構,但您不可以直接在程式碼中使用它。

取得或設定鍵盤快速鍵。

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Common
組件:  Microsoft.VisualStudio.TestTools.UITest.Common (在 Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

語法

'宣告
Public Property AcceleratorKey As Key
    Get
    Private Set
public Key AcceleratorKey { get; private set; }
public:
property Key AcceleratorKey {
    Key get ();
    private: void set (Key value);
}
member AcceleratorKey : Key with get, private set
function get AcceleratorKey () : Key
private function set AcceleratorKey (value : Key)

屬性值

型別:System.Windows.Input.Key
鍵盤快速鍵。

.NET Framework 安全性

請參閱

參考

UITestBuilderButton 類別

Microsoft.VisualStudio.TestTools.UITest.Common 命名空間