AccessKeyManager.IsKeyRegistered(Object, String) Méthode

Définition

Indique si la clé spécifiée est inscrite en tant que clés d’accès dans l’étendue spécifiée.

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

Paramètres

scope
Object

Source de présentation à interroger .key

key
String

Clé à interroger.

Retours

true si la clé est inscrite ; sinon, false.

S’applique à