RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TWideStrings.Capacity Property

Indicates the number of strings the TWideStrings object can hold.

Pascal
property Capacity: Integer;
C++
__property int Capacity;

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!