IHash<TKey,TValue>.key_comp Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.