StringReader.Read Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Reads the next character from the input string and advances the character position by one character.
Assembly: mscorlib (in mscorlib.dll)
Return Value
Type: System.Int32The next character from the underlying string, or -1 if no more characters are available.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The current reader is closed. |
This method overrides the TextReader.Read method.
Show: