AccessKeyManager.IsKeyRegistered(Object, String) 方法

定义

指示指定键是否在指定范围中注册为访问键。

public:
 static bool IsKeyRegistered(System::Object ^ scope, System::String ^ key);
public static bool IsKeyRegistered (object scope, string key);
static member IsKeyRegistered : obj * string -> bool
Public Shared Function IsKeyRegistered (scope As Object, key As String) As Boolean

参数

scope
Object

要针对 key 查询的演示文稿源。

key
String

要查询的键。

返回

如果注册该键,则为 true;否则为 false

适用于