Redigera

Dela via


TextBuilder.AppendLine([Text]) Method

Version: Available or changed with runtime version 1.0.

Appends a copy of the specified string followed by the default line terminator to the end of the current TextBuilder object. If this parameter is omitted, only the line terminator will be appended.

Syntax

[Ok := ]  TextBuilder.AppendLine([Text: Text])

Parameters

TextBuilder
 Type: TextBuilder
An instance of the TextBuilder data type.

[Optional] Text
 Type: Text
The string to append.

Return Value

[Optional] Ok
 Type: Boolean
true if the copy of the specified string with the default line terminator succeeded, otherwise false. If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.

TextBuilder Data Type
Get Started with AL
Developing Extensions