IHash<TKey,TValue>.bucket_count Method

Definition

Counts the number of buckets in the hash table.

public:
 int bucket_count();
public int bucket_count ();
abstract member bucket_count : unit -> int
Public Function bucket_count () As Integer

Returns

The current number of buckets in the hash table.

Remarks

For more information, see hash_map::bucket_count (STL/CLR), hash_multimap::bucket_count (STL/CLR), hash_set::bucket_count (STL/CLR), and hash_multiset::bucket_count (STL/CLR).

Applies to