Click or drag to resize

StreamReaderPeek Method

Returns the next available character but does not consume it.

Namespace: Crestron.SimplSharp.CrestronIO
Assembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntax
C#
public override int Peek()

Return Value

Int32
An integer representing the next character to be read, or -1 if no more characters are available or the stream does not support seeking.
Exceptions
ExceptionCondition
IOException An I/O error occurs.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also