Skip to content

TFPObjectList.Capacity

Capacity of the list.

Declaration

Source position: contnrs.pp line 72

public property Capacity: Integer;

Description

Capacity is the number of elements that the list can contain before it needs to expand itself, i.e., reserve more memory for pointers. It is always equal or larger than Count.

See also

Name Description
TFPObjectList.Count Number of elements in the list.