Files
mql5-skills/skills/mql5/references/docs/34-standardlibrary/1929-standardlibrary-generic-chashmap-chashmapremove.md
T
2026-06-23 21:47:51 +08:00

576 B

Remove

Removes the first occurrence of the key/value pair from the hash table.

The version that removes a key-value pair based on the generated key-value pair.

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

The version that removes a key-value pair based on the key.

bool Remove(
   TKey  key                            // key
   );

Parameters

*item

[in]  The key/value pair.

key

[in]  Key.

Return Value

Returns true on successful, or false otherwise.