語言

AutomationElement.AutomationElementInformation.AcceleratorKey 屬性

定義

會得到一個包含該元素加速鍵組合的字串。

public:
 property System::String ^ AcceleratorKey { System::String ^ get(); };
public string AcceleratorKey { get; }
member this.AcceleratorKey : string
Public ReadOnly Property AcceleratorKey As String

屬性值

一連串的鍵組合,用來呼叫與該元素相關的動作。

備註

加速鍵組合會觸發動作。 例如,CTRL + O 常用於呼叫 「檔案開啟 」對話框。 使用者介面自動化具有加速鍵屬性設定的元素,總是實作 InvokePattern 類別。

如需詳細資訊,請參閱AcceleratorKeyProperty。

適用於