TStringList.AddObject function
Declaration
function AddObject(const S: string; AObject: TObject): Integer
; overrideDescription
Not described here; this is what TStrings.AddObject says of it:
Add a string and associated object to the list.
AddObject adds
S to the list of strings, and
associates
AObject with it. It returns the index of
S.
An object added to the list is not automatically destroyed by the list when
the list is destroyed or the string it is associated with is deleted. It is
the responsibility of the application to destroy any objects associated with
strings.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
