System.SysUtils.TStringBuilder.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.SysUtils.pas
System.SysUtils.hpp
System.SysUtils TStringBuilder

Description

Used to get or set the maximum number of characters that can be stored in this TStringBuilder instance.

Use Capacity to get or set the maximum number of characters that can be stored in this TStringBuilder instance. Capacity cannot be set higher than the value of MaxCapacity and cannot be set lower than the current value of Length.

See Also