Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Version: Available or changed with runtime version 1.0.
Gets or sets the maximum number of characters that can be contained in the memory allocated by the current instance.
Syntax
[OldCapacity := ] TextBuilder.Capacity([NewCapacity: Integer])
Note
This method can be invoked using property access syntax.
Parameters
TextBuilder
Type: TextBuilder
An instance of the TextBuilder data type.
[Optional] NewCapacity
Type: Integer
The maximum number of characters that can be contained in the memory allocated by the current instance. Its value can range from Length to MaxCapacity.
Return Value
[Optional] OldCapacity
Type: Integer
The maximum number of characters that can be contained in the memory allocated by the current instance.
Related information
TextBuilder Data Type
Get Started with AL
Developing Extensions