IHash<TKey,TValue>.rehash(Int32) 方法

定义

重新生成哈希表。Rebuilds the hash table.

public:
 void rehash(int _Buckets);
public void rehash (int _Buckets);
abstract member rehash : int -> unit
Public Sub rehash (_Buckets As Integer)

参数

_Buckets
Int32

哈希表的存储桶数。The number of buckets for the hash table.

注解

有关详细信息,请 参阅 _ hash map:: REHASH (STL/clr) hash _ 多重映射:: rehash (stl/clr) hash _ set:: rehash (stl/clr) ,以及 哈希 _ 多重集:: rehash (stl/clr) For more information, see hash_map::rehash (STL/CLR), hash_multimap::rehash (STL/CLR), hash_set::rehash (STL/CLR), and hash_multiset::rehash (STL/CLR).

适用于