Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

StringReader.Read Method

July 28, 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