TFPGObjectList.Create constructor
Instantiate a new object list.
Declaration
constructor Create(FreeObjects: Boolean=True)Arguments
FreeObjects | When
|
Description
Create instantiates a new object list. It will simply call the inherited
constructor with the correct item size and will initialize
FreeObjects with
FreeObjects.
If FreeObjects is true, then the list owns the objects. Freeing
or clearing the list will remove all objects from memory by calling the
destructor. Deleting or removing an item from the list will also dispose of
the element.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
