IHash<TKey,TValue>.bucket_count 方法

定義

計數雜湊資料表中 Bucket 的數目。

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

傳回

雜湊資料表中 Bucket 目前的數目。

備註

如需詳細資訊,請參閱 hash_map::bucket_count (STL/CLR) hash_multimap::bucket_count (STL/CLR ) 、 hash_set::bucket_count (STL/CLR) hash_multiset::bucket_count (STL/CLR)

適用於