RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TStringBuilder.Length Property

Used to get or set the size of the character array stored in this TStringBuilder instance.

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

Use Length to get or set the size of the character array stored in this TStringBuilder instance. If the value of Length is lowered, the character array is truncated. If the value is raised, the character array is padded with spaces and the Capacity property is increased. An error occurs if an attempt is made to increase Length larger than the MaxCapacity property. 

 

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