Read Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Reads the next character from the text reader and advances the character position by one character.

Namespace:  System.IO
Assembly:  System.IO (in System.IO.dll)

public:
virtual int Read()

Return Value

Type: System..::..Int32
The next character from the text reader, or -1 if no more characters are available. The default implementation returns -1.

Show: