Reads the next character without changing the state of the reader or the
character source. Returns the next available character without actually reading
it from the input stream.
Namespace: Crestron.SimplSharp.CrestronIOAssembly: SimplSharpHelperInterface (in SimplSharpHelperInterface.dll) Version: 2.21.121
Syntaxpublic abstract 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.
ExceptionsVersion Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also