TextBuffer.appendText(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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]"
}