共用方式為


AccessKeyManager.ProcessKey(Object, String, Boolean) 方法

定義

處理指定的便捷鍵,就像已將索引鍵的 KeyDown 事件傳遞給 AccessKeyManager 一樣。

public:
 static bool ProcessKey(System::Object ^ scope, System::String ^ key, bool isMultiple);
[System.Security.SecurityCritical]
public static bool ProcessKey (object scope, string key, bool isMultiple);
public static bool ProcessKey (object scope, string key, bool isMultiple);
[<System.Security.SecurityCritical>]
static member ProcessKey : obj * string * bool -> bool
static member ProcessKey : obj * string * bool -> bool
Public Shared Function ProcessKey (scope As Object, key As String, isMultiple As Boolean) As Boolean

參數

scope
Object

便捷鍵的範圍。

key
String

便捷鍵。

isMultiple
Boolean

指出 key 是否有多個相符項目。

傳回

如果有多個相符的索引鍵,則為 true;否則為 false

屬性

適用於