System::IO::TextReader::Peek method

TextReader::Peek method

Reads a single character from the stream without changing the stream’s read cursor.

virtual int System::IO::TextReader::Peek()

ReturnValue

Read character encoded with UTF-16 encoding; if the read character is represented by two codepoints in UTF-16 encoding then only the high surragate is returned; if no character was read -1 is returned

See Also