[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

IInterfaceList.SetCapacity

Set the capacity of the list

Declaration

Source position: classesh.inc line 1441

procedure IInterfaceList.SetCapacity(

  NewCapacity: Integer

);

Description

SetCapacitysets the capacity of the list to NewCapacity. It serves as the Writemethod for the Capacityproperty.

See also

IInterfaceList.Capacity

  

Capacity of the list

TList.Capacity

  

Current capacity (i.e. number of pointers that can be stored) of the list.