TextSnapshotToTextReader.Peek Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the next character without changing the state of the reader or the character source.
public:
override int Peek();
public:
override int Peek();
override int Peek();
public override int Peek ();
override this.Peek : unit -> int
Public Overrides Function Peek () As Integer
Returns
The next character to be read, or -1 if no more characters are available or the stream does not support seeking.
Exceptions
The reader is closed.