System.Classes.TCollection.Capacity

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Capacity: Integer read GetCapacity write SetCapacity;

C++

__property int Capacity = {read=GetCapacity, write=SetCapacity, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.Classes.pas
System.Classes.hpp
System.Classes TCollection

Description

Provides access to the internal TList.Capacity property.

The Capacity property specifies the allocated size of the array of pointers maintained by the TList object. This value is set to the number of pointers the list will need to contain.