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
Samarbeid med oss på GitHub
Du finner kilden for dette innholdet på GitHub. Der du også kan opprette og se gjennom problemer og pull-forespørsler. Hvis du vil ha mer informasjon, kan du se vår bidragsyterveiledning.