Édition

Partage via


TextBuilder.Capacity([Integer]) Method

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.

TextBuilder Data Type
Get Started with AL
Developing Extensions