MQL5 ReferenceStandard LibraryGeneric Data CollectionsIMap<TKey,TValue>TryGetValue AddContainsRemoveTryGetValueTrySetValueCopyTo TryGetValue Gets an element with the specified key from a collection. bool TryGetValue( TKey key, // key TValue& value // a variable for writing the value ); Parameters key [in] Key. &value [out] The variable to which the specified value of the key/value pair will be written. Return Value Returns true on successful, or false otherwise. Remove TrySetValue