[Overview][Types][Classes][Index] Reference for unit 'ObjectLists' (#lazutils)

TObjectArray.SetCount

Sets the value for the Count property.

Declaration

Source position: objectlists.pas line 62

protected procedure TObjectArray.SetCount(

  const AValue: Integer

);

Arguments

AValue

  

New value for the property.

Description

SetCount calls SetCapacity when the new value for the property is larger than the existing value in Capacity.

See also

TObjectArray.Count

  

Number of item/object associations currently stored in the List.

TObjectArray.Capacity

  

Specifies the number of associations that can be stored in the List.

TObjectArray.SetCapacity

  

Sets the value for the Capacity property.


Version 4.0 Generated 2025-05-03 Home