IHash<TKey,TValue>.bucket_count 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.
Compte le nombre de compartiments dans la table de hachage.
public:
int bucket_count();
public int bucket_count ();
abstract member bucket_count : unit -> int
Public Function bucket_count () As Integer
Retours
Nombre actuel de compartiments dans la table de hachage.
Remarques
Pour plus d’informations, consultez hash_map ::bucket_count (STL/CLR),hash_multimap ::bucket_count (STL/CLR),hash_set ::bucket_count (STL/CLR) et hash_multiset ::bucket_count (STL/CLR).
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Prochainement : Tout au long de l'année 2024, nous supprimerons progressivement les GitHub Issues en tant que mécanisme de retour d'information pour le contenu et nous les remplacerons par un nouveau système de retour d'information. Pour plus d’informations, voir:Soumettre et afficher des commentaires pour