help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TStrings.Values

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

Declaration

Source position: classesh.inc line 522

public property TStrings.Values: 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.

Remark:
  1. Names are compared case-insensitively.
  2. Any character, including whitespace, up till the first equal (=) sign in a string is considered part of the name.

See also

TStrings.Names

  

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

TStrings.Strings

  

Indexed access to the strings in the list.

TStrings.Objects

  

Indexed access to the objects associated with the strings in the list.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505