Edit

Share via


AccessKeyManager.IsKeyRegistered(Object, String) Method

Definition

Indicates whether the specified key is registered as an access keys in the specified scope.

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

Parameters

scope
Object

The presentation source to query for key.

key
String

The key to query.

Returns

true if the key is registered; otherwise, false.

Applies to