Skip to content

IInterfaceList.Capacity

Capacity of the list

Declaration

Source position: classesh.inc line 2227

default Property
  Capacity : Integer;

Description

Capacity is the maximum number of elements the list can hold without needing to reallocate memory for the list. It can be set to improve speed when adding a lot of items to the list.

See also

Name Description
IInterfaceList.Count Current number of elements in the list.
Integer A signed 16-bits integer
TList.Capacity Current capacity (i.e. number of pointers that can be stored) of the list.