Читати англійською Редагувати

Поділитися через


ITree<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.

C#
public Microsoft.VisualC.StlClr.BinaryDelegate<TKey,TKey,bool> key_comp();

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

Продукт Версії
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1