NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

StreamReader.Read ()

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

[Visual Basic]
Overloads Overrides Public Function Read() As Integer
[C#]
public override int Read();
[C++]
public: override int Read();
[JScript]
public override function Read() : int;

Return Value

The next character from the input stream, or-1 if no more characters are available.

Exceptions

Exception Type Condition
IOException An I/O error occurs or the input stream is null.

See Also

StreamReader Class | StreamReader Members | System.IO Namespace | StreamReader.Read Overload List