TStringList.Values

property Names[Name: String]: String Access mode: RW

Description
represents the value parts of the name-value pairs in the list.

Reading
When reading this property, if there is a name-value pair in the list of strings that has name part Name, then the corresponding value is returned. If there is no such pair, an empty string is returned.

Writing
When writing this value, first it is checked whether there exists a name-value pair in the list with name Name. If such a pair is found, it's value part is overwritten with the specified value. If no such pair is found, a new name-value pair is added with the specified Name and value.