แก้ไข

แชร์ผ่าน


IHash<TKey,TValue>.key_comp Method

Definition

Returns the ordering delegate that is used to order the controlled sequence. You use it to compare two keys.

public:
 Microsoft::VisualC::StlClr::BinaryDelegate<TKey, TKey, bool> ^ key_comp();
public Microsoft.VisualC.StlClr.BinaryDelegate<TKey,TKey,bool> key_comp ();
abstract member key_comp : unit -> Microsoft.VisualC.StlClr.BinaryDelegate<'Key, 'Key, bool>
Public Function key_comp () As BinaryDelegate(Of TKey, TKey, Boolean)

Returns

BinaryDelegate<TKey,TKey,Boolean>

The ordering delegate that is used to order the controlled sequence.

Remarks

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

Applies to