語言

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)。

適用於