API:Data.DBXPlatform.TDBXStringList.GetCapacity
Delphi
function GetCapacity: Integer; override;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | protected | System.Classes.pas | Data.DBXPlatform | TDBXStringList |
Description
Returns the currently allocated size of the list of strings.
Data.DBXPlatform.TDBXStringList.GetCapacity inherits from System.Classes.TStrings.GetCapacity. All content below this line refers to System.Classes.TStrings.GetCapacity.
Returns the currently allocated size of the list of strings.
GetCapacity is the protected read implementation of the Capacity property. In TStrings, GetCapacity returns the value of the Count property. Descendants of TStrings can override this property to let a string list allocate memory for entries that have not been added to the list.