Unit 'Contnrs' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#fcl]

TObjectList.Create

Create a new object list.

Declaration

Source position: contnrs.pp line 90

public constructor TObjectList.Create;

constructor TObjectList.Create(

  FreeObjects: Boolean

);

Arguments

FreeObjects

  

Should removed items be freed from memory.

Description

Create instantiates a new object list. The FreeObjects parameter determines whether objects that are removed from the list should also be freed from memory. By default this is True. This behaviour can be changed after the list was instantiated.

Errors

None.

See also

TObjectList.OwnsObjects

  

Should the list free elements when they are removed.

TFPObjectList

  

TFPList descendent which manages objects.


Documentation generated on: Nov 23 2024