AvalonEdit
Peek Method
NamespacesICSharpCode.AvalonEdit.UtilsRopeTextReaderPeek()()()()
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.
Declaration Syntax
C#Visual BasicVisual C++
public override int Peek()
Public Overrides Function Peek As Integer
public:
virtual int Peek() override
Return Value
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
ObjectDisposedExceptionThe TextReader is closed.
IOExceptionAn I/O error occurs.

Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238