Read Method
Collapse the table of content
Expand the table of content

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.

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:
© 2017 Microsoft