TStrings.AddPair function
Add a name-value pair.
Declaration
function AddPair(const AName: string; const AValue: string): TStrings
; overload
function AddPair(const AName: string; const AValue: string;
AObject: TObject): TStrings; overloadDescription
AddPair adds a
Name=Value pair with the
AName
and
AValue parameters, optionally with object
AObject.
It uses the correct
NameValueSeparator character to do so.
AddPair does not test whether
aName already exists, so it is possible to add duplicate names.
Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
