TStrings.Values

Value parts of the name-value pairs in the list.

Declaration

Source position: classesh.inc line 792

public Property
  Values[Name: string]: string;

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.

Remark

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

Name Description
TStrings.Names Name parts of the name-value pairs in the list.
TStrings.Objects Indexed access to the objects associated with the strings in the list.
TStrings.Strings Indexed access to the strings in the list.

results matching ""

    No results matching ""