AccessKeyManager.IsKeyRegistered(Object, String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Indique si la clé spécifiée est inscrite comme clé 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 pour key.
- key
- String
Clé à récupérer.
Retours
true si la clé est inscrite ; sinon, false.