Contains

Determines whether the sorted hash table contains the specified key/value table.

The version for working with a generated key/value pair.

bool Contains(
   CKeyValuePair<TKeyTValue>*  item     // the key/value pair
   );

The version for working with a key/value pair in the form of a separately set key and value.

bool Contains(
   TKey    key,                         // key
   TValue  value                        // value
   );

Parameters

*item

[in]  The key/value pair.

key

[in]  Key.

value

[in]  Value.

Return Value

Returns true, if the sorted hash table contains the key/value pair with the specified key and value, or false otherwise.