[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Capacity of the list, i.e. number of strings that the list can currently hold before it tries to expand.
Source position: classesh.inc line 509
public property TStrings.Capacity: Integer |
Capacityis the number of strings that the list can hold before it tries to allocate more memory.
TStringsreturns TStrings.Countwhen read. Trying to set the capacity has no effect. Descendent classes such as TStringlistcan override this property such that it actually sets the new capacity.
|
Standard implementation of the TStringsclass. |
|
|
Number of strings in the list. |