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

属性

适用于