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.
See Also
TextBuilder Data Type
Get Started with AL
Developing Extensions
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for