Skip to main content

TdxFastList.Capacity Property

Specifies the pointer list’s capacity.

Declaration

property Capacity: Integer read; write;

Property Value

Type
Integer

Remarks

Use this property to change the pointer list’s maximum size. Do not assign a value that is less than the current number of stored pointers (that is, the Count property value); otherwise, the “List capacity out of bounds” exception occurs.

The constructor‘s ACapacity parameter value initializes the Capacity property.

Note

The Clear procedure resets both the Capacity and Count properties to 0.

See Also