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!

StringReader.Peek

Returns the next available character without actually reading it from the underlying string.

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

Return Value

The next character to be read, or-1 if no more characters are available.

Exceptions

Exception Type Condition
IOException An I/O error occurs.

Remarks

The current position of the StringReader is not changed by this operation.

See Also

StringReader Class | StringReader Members | System.IO Namespace