Navigation: Code Documentation > RSCommon > RSGenerics.Collections > Classes > TRSHashTable<TKey,TValue> > Methods
TRSHashTable<TKey,TValue>.Put(TKey,TValue) Method
Stores the Value defined type at the specified hash key. It returns the old value at that hash key if there was one.
Namespace: RSGenerics.Collections
Delphi
public function Put(const Key: TKey; const Value: TValue): TValue;
Parameters
Key
Type: TKey
Value
Type: TValue
•TRSHashTable<TKey,TValue>
•RSGenerics.Collections