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

TUnicodeStringBuilder.Capacity

Current capacity of the string buffer.

Declaration

Source position: syssbh.inc line 126

public property TUnicodeStringBuilder.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: Nov 23 2024