TStrings.Capacity

Applies to TestComplete 14.50, last modified on April 22, 2021

Specifies the maximum number of strings that the given TStrings object can contain.

Declaration

TStringsObj.Capacity
Read-Write Property Integer
TStringsObj     A TStrings object  

Description

Use the TStrings.Capacity property to determine or specify how many strings can be stored in the given TStrings object. Use the Count property to get the number of strings that are stored in the object.

Property Value

An integer value that specifies the maximum number of strings the given TStrings object can contain.

See Also

TStrings.Count

Highlight search results