System.Classes.TStrings.Values

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Values[const Name: string]: string read GetValue write SetValue;

C++

__property System::UnicodeString Values[const System::UnicodeString Name] = {read=GetValue, write=SetValue};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TStrings

Description

Represents the value part of a string associated with a given name, on strings that are name-value pairs.

When the list of strings for the TStrings object includes strings that are name-value pairs, use Values to get or set the value part of a string associated with a specific name part.

For more information on name-value pairs, refer to the NameValueSeparator property.

Note: The Name index is case-insensitive. That is, Values is the value part for the first occurrence of Name or an equivalent string that differs only in case.

See Also