Previous  Next

Compare

Compares the current key/value pair to the specified one.

int Compare(
   CKeyValuePair<TKeyTValue>*  pair     // the pair to compare
   );

Parameters

*pair

[in]  The pair to compare.

Return Value

Returns a number that expresses the ratio of the current and passed key-value pairs:

Note

Key/value pairs are compared based on their keys.