IInterfaceList.SetCapacity

Set the capacity of the list

Declaration

Source position: classesh.inc line 2214

default 
  procedure SetCapacity(NewCapacity: Integer);

Description

SetCapacity sets the capacity of the list to NewCapacity. It serves as the Write method for the Capacity property.

See also

Name Description
IInterfaceList.Capacity Capacity of the list
TList.Capacity Current capacity (i.e. number of pointers that can be stored) of the list.