Returns the next available character but does not consume it.
Declaration Syntax
C# | Visual Basic | Visual C++ | F# |
public int Peek()
Public Function Peek As Integer
public: int Peek()
member Peek : unit -> int
Return Value
Int32
An integer representing the next character to be read, or -1 if no more characters are available.
An integer representing the next character to be read, or -1 if no more characters are available.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | Is raised when this object is disposed and this method is accessed. |
Assembly: LumiSoft.Net (Module: LumiSoft.Net.dll) Version: 4.5.5510.19119