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!

BinaryReader.Read ()

Reads the next character from the underlying stream and advances the current position of the stream in accordance with the Encoding used and perhaps the particular character being read from the stream.

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

Return Value

The next character from the input stream, or-1 if no characters are currently available. This default constructor returns-1.

Exceptions

Exception Type Condition
IOException The stream is a null reference (in Visual Basic Nothing) or not open.

See Also

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