TextSnapshotToTextReader::ReadLine Method ()

 

Reads a line of characters from the current stream and returns the data as a string.

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

public:
virtual String^ ReadLine() override

Return Value

Type: System::String^

The next line from the input stream, or null if all characters have been read.

Exception Condition
ObjectDisposedException

The reader is closed.

Return to top
Show: