Redigera

Dela via


IHash<TKey,TValue>.hash_delegate Method

Definition

Returns the delegate that is used to convert a key value to an integer.

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)

Returns

The delegate that is used to convert a key value to an integer.

Remarks

For more information, see hash_map::hash_delegate (STL/CLR), hash_multimap::hash_delegate (STL/CLR), hash_set::hash_delegate (STL/CLR), and hash_multiset::hash_delegate (STL/CLR).

Applies to