TextBuffer.appendText Method [AX 2012]

Appends a string to the content of the TextBuffer object.

public void appendText(str string)

Run On

Called

Parameters

string
Type: str
The string to append.

{ 
    TextBuffer txtb = new TextBuffer(); 
    txtb.setText("[One]"); 
    txtb.appendText("[Another]"); 
    print txtb.getText(); // Will print "[One][Another]" 
}

Community Additions

ADD
Show: