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
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
Exception | Condition |
---|---|
ObjectDisposedException | The TextReader is closed. |
IOException | An I/O error occurs. |
Assembly: ICSharpCode.AvalonEdit (Module: ICSharpCode.AvalonEdit.dll) Version: 5.0.0.4238