System.WideStrings.TWideStrings.Capacity

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Capacity: Integer read GetCapacity write SetCapacity;

C++

__property int Capacity = {read=GetCapacity, write=SetCapacity, nodefault};

Properties

Type Visibility Source Unit Parent
property public
System.WideStrings.pas
System.WideStrings.hpp
System.WideStrings TWideStrings

Description

Indicates the number of strings the TWideStrings object can hold.

Read Capacity to determine the currently allocated size of the string list. For the TWideStrings object, reading Capacity returns the Count property, and setting Capacity does nothing. Descendants of TWideStrings can override this property to allow a string list to allocate memory for entries that have not been added to the list.

See Also