ReadText method

Read unread text into the given buffer.

Syntax
Visual Basic
Public Function ReadText( _
   ByVal buf As System.Text.StringBuilder _
) As Integer
C#
public int ReadText(
   System.Text.string Builder buf
);
Parameters
  • buf   Target buffer for any read text.

Return value

The number of characters read or -1 if there are no more characters to read.

Remarks

Any additional unread text must be read by subsequent calls to this method. Text is read from the beginning of any unread text.