ITree<TKey,TValue>.key_comp 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳用於排序受控序列的排序代理。 您可以使用它來比較兩個索引鍵。
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)
傳回
BinaryDelegate<TKey,TKey,Boolean>
用於排序受控序列的排序代理。
備註
更多資訊請參閱 hash_map::key_comp(STL/CLR)、hash_multimap::key_comp(STL/CLR)、hash_set::key_comp(STL/CLR)及hash_multiset::key_comp(STL/CLR)。