Unit 'sysutils' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TAnsiStringBuilder.Capacity

Current capacity of the string buffer.

Declaration

Source position: syssbh.inc line 108

public property TAnsiStringBuilder.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

MaxCapacity

  

Maximum capacity of the string buffer.

Length

  

Currentl length of the string buffer.

ERangeError

  

Range check error.


Documentation generated on: Jul 24 2023