IHash<TKey,TValue>.hash_delegate 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳用於將鍵值轉換為整數的代理。
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)
傳回
UnaryDelegate<TKey,Int32>
用來將鍵值轉換成整數的代理。
備註
更多資訊請參閱 hash_map::hash_delegate(STL/CLR)、hash_multimap::hash_delegate(STL/CLR)、hash_set::hash_delegate(STL/CLR)及hash_multiset::hash_delegate(STL/CLR)。