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
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.