StringReader.Read Method

May 11, 2014

Reads the next character from the input string and advances the character position by one character.

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

public override int Read()

Return Value

Type: System.Int32
The next character from the underlying string, or -1 if no more characters are available.

ExceptionCondition
ObjectDisposedException

The current reader is closed.

This method overrides the TextReader.Read method.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2014 Microsoft