Partilhar via


TextBuffer.getText Method

Definition

Retrieves the current content of the TextBuffer object.

public:
 virtual System::String ^ getText();
public virtual string getText ();
abstract member getText : unit -> string
override this.getText : unit -> string
Public Overridable Function getText () As String

Returns

A string that contains the content of TextBuffer object.

Remarks

The TextBuffer can contain new lines, which are then present in the returned string.

Applies to