Jaa


TextBuffer.appendText(String) Method

Definition

Appends a string to the content of the TextBuffer object.

public:
 virtual void appendText(System::String ^ _string);
public virtual void appendText (string _string);
abstract member appendText : string -> unit
override this.appendText : string -> unit
Public Overridable Sub appendText (_string As String)

Parameters

_string
String

The string to append.

Remarks

The following example demonstrates the appendText method.

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

Applies to