PasswordVault.FindAllByResource(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.
Recherche dans Credential Locker les informations d’identification correspondant à la ressource spécifiée.
public:
virtual IVectorView<PasswordCredential ^> ^ FindAllByResource(Platform::String ^ resource) = FindAllByResource;
IVectorView<PasswordCredential> FindAllByResource(winrt::hstring const& resource);
public IReadOnlyList<PasswordCredential> FindAllByResource(string resource);
function findAllByResource(resource)
Public Function FindAllByResource (resource As String) As IReadOnlyList(Of PasswordCredential)
Paramètres
- resource
-
String
Platform::String
winrt::hstring
Ressource à rechercher. Si aucune correspondance n’existe, une exception est levée.
Retours
Lorsque cette méthode est retournée, contient un IVectorView d’objets d’informations d’identification qui correspondent aux critères de recherche.
Remarques
Chaque objet retourné aura la ressource et le nom d’utilisateur appropriés, mais il n’inclura pas le mot de passe.
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour