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.PeekChar

Returns the next available character without actually reading it from the input stream, and does not advance the byte or character position within the stream.

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

Return Value

The next available character.

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