Note
Kailangan ng pahintulot para ma-access ang page na ito. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
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