Sign in Join
FPDoc Onlineexperiment

TObjectArray.Capacity property

Member of TObjectArraypublicIn unit ObjectLists

Specifies the number of associations that can be stored in the List.

Declaration

pascal
property Capacity: Integer read FCapacity write SetCapacity;

Description

Capacity is an Integer property which specifies the number of item/object associations that can be stored in the List. Changing the value in Capacity causes the memory in List to be reallocated to accommodate the new capacity value. The value in Count may also be affected when the value in Capacity is reduced.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.