Sign in Join
FPDoc Onlineexperiment

TCollection.Add function

Member of TCollectionpublicIn unit Classes

Creates and adds a new item to the collection.

Declaration

pascal
function Add: TCollectionItem

Description

Add instantiates a new item of class ItemClass and adds it to the list. The newly created object is returned.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.