TextSnapshotToTextReader::Read Method ()

 

Reads the next character from the input stream and advances the character position by one character.

Namespace:   Microsoft.VisualStudio.Text
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

public:
virtual int Read() override

Return Value

Type: System::Int32

The next character from the input stream, or -1 if no more characters are available.

Exception Condition
ObjectDisposedException

The reader is closed.

Return to top
Show: