Skip to content

TFPObjectList.Expand

Expand the capacity of the list.

Declaration

Source position: contnrs.pp line 58

public 
function TFPObjectList.Expand : TFPObjectList;

Description

Expand increases the capacity of the list. It calls #rtl.classes.tfplist.expand and then returns a reference to itself.

Errors

If there is not enough memory to expand the list, an exception will be raised.

See also

Name Description
TFPObjectList.Pack Remove all Nil references from the list.
TFPObjectList.Clear Clear all elements in the list.
#rtl.classes.tfplist.expand