Download MetaTrader 5

Equals

Checks whether the current key/value pair and the specified one are equal.

bool Equals(
   CKeyValuePair<TKeyTValue>*  pair     // the pair to compare
   );

Parameters

*pair

[in]  The pair to compare

Return Value

Returns true if the key/value pairs are equal, or false otherwise.

Note

Key/value pairs are compared based on their keys.