DocumentationMQL5 ReferenceStandard LibraryGeneric Data CollectionsCKeyValuePair<TKey,TValue>KeyKeyKey (the Get method)Gets the key in the key/value pair.TKey Key();Return Value Returns the key.Key (the Set method)Sets the key in the key/value pair.void Key( TKey key // key );Parameters key[in] Key.Last updated on 2026-07-24Value