TextSnapshotToTextReader::Peek Method ()
Visual Studio 2015
Returns the next character without changing the state of the reader or the character source.
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Return Value
Type: System::Int32The next character to be read, or -1 if no more characters are available, or if the stream does not support seeking.
| Exception | Condition |
|---|---|
| ObjectDisposedException | The reader is closed. |
Show: