Sign in Join
FPDoc Onlineexperiment

TUnicodeStringBuilder.Capacity property

Member of TUnicodeStringBuilderpublicIn unit sysutils

Current capacity of the string buffer.

Declaration

pascal
property Capacity: Integer read GetCapacity write SetCapacity;

Description

Capacity can be used to get or set the capacity of the string buffer (in characters). When setting the capacity, the new length is checked whether it lies within the maximum capacity ( MaxCapacity) for the string buffer: if not, an ERangeError exception is raised.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.