共用方式為


IHash<TKey,TValue>.hash_delegate 方法

定義

傳回用於將索引鍵值轉換成整數的委派。

public:
 Microsoft::VisualC::StlClr::UnaryDelegate<TKey, int> ^ hash_delegate();
public Microsoft.VisualC.StlClr.UnaryDelegate<TKey,int> hash_delegate ();
abstract member hash_delegate : unit -> Microsoft.VisualC.StlClr.UnaryDelegate<'Key, int>
Public Function hash_delegate () As UnaryDelegate(Of TKey, Integer)

傳回

用於將索引鍵值轉換成整數的委派。

備註

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

適用於