IHash<TKey,TValue>.find 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 un élément qui correspond à une clé spécifiée.
public:
void ^ find(Microsoft::VisualC::StlClr::Generic::ContainerBidirectionalIterator<TValue> ^ % unnamedParam1, TKey _Keyval);
public void find (ref Microsoft.VisualC.StlClr.Generic.ContainerBidirectionalIterator<TValue> unnamedParam1, TKey _Keyval);
abstract member find : ContainerBidirectionalIterator * 'Key -> unit
Public Function find (ByRef unnamedParam1 As ContainerBidirectionalIterator(Of TValue), _Keyval As TKey) As Void
Paramètres
- unnamedParam1
- ContainerBidirectionalIterator<TValue>
Itérateur qui désigne l'un des éléments trouvés ou end(ContainerBidirectionalIterator<TValue>) si aucun élément n'est trouvé.
- _Keyval
- TKey
Valeur de clé à rechercher.
Remarques
Pour plus d’informations, consultez hash_map ::find (STL/CLR),hash_multimap ::find (STL/CLR),hash_set ::find (STL/CLR) et hash_multiset ::find (STL/CLR).
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