CoseHeaderMap.TryGetValue(CoseHeaderLabel, CoseHeaderValue) 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.
Obtient la valeur associée à la clé spécifiée.
public:
virtual bool TryGetValue(System::Security::Cryptography::Cose::CoseHeaderLabel key, [Runtime::InteropServices::Out] System::Security::Cryptography::Cose::CoseHeaderValue % value);
public bool TryGetValue(System.Security.Cryptography.Cose.CoseHeaderLabel key, out System.Security.Cryptography.Cose.CoseHeaderValue value);
abstract member TryGetValue : System.Security.Cryptography.Cose.CoseHeaderLabel * CoseHeaderValue -> bool
override this.TryGetValue : System.Security.Cryptography.Cose.CoseHeaderLabel * CoseHeaderValue -> bool
Public Function TryGetValue (key As CoseHeaderLabel, ByRef value As CoseHeaderValue) As Boolean
Paramètres
- key
- CoseHeaderLabel
Clé dont la valeur doit être obtenu.
- value
- CoseHeaderValue
Lorsque cette méthode est retournée, contient la valeur associée à la clé spécifiée, si la clé est trouvée ; sinon, valeur par défaut pour le type du value paramètre. Ce paramètre est passé non initialisé.
Retours
true si l’objet qui implémente IDictionary<TKey,TValue> contient un élément avec la clé spécifiée ; sinon, false.