TStrings.Values property
Value parts of the name-value pairs in the list.
Declaration
property Values[Name: string]: string read GetValue write SetValue;Description
Values represents the value parts of the name-value pairs in the
list.
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.
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.
- Names are compared case-insensitively.
- Any character, including whitespace, up till the first equal (=) sign in a string is considered part of the name.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
