[Overview][Types][Classes][Index] |
Sets the value for the Capacity property.
Source position: objectlists.pas line 61
protected procedure TObjectArray.SetCapacity( |
const AValue: Integer |
); |
AValue |
|
New value for the property. |
SetCapacity calls ReallocMem to ensure that List contains enough memory for the number of T2Pointer instances specified in AValue. The Count property is also updated in the method (when needed) to reflect the new value for the property.
|
Specifies the number of associations that can be stored in the List. |
|
|
Number of item/object associations currently stored in the List. |
Version 4.0 | Generated 2025-05-03 | Home |