TFPGInterfacedObjectList.Add function
Add new object of class
T to the list.
Declaration
function Add(const Item: T): IntegerArguments
Item | Interfaced object to add to the list. |
Function result
Index at which the object was added.
Description
Add adds a new item
Item of class type
T
to the list and returns the position at which the item was added. Add will
increase the reference count of the object.Errors
If the item could not be added, an EListError exception is raised.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
