TextSnapshotToTextReader::ReadToEnd Method ()

 

Reads all the characters from the current position to the end of the reader and returns them as a string.

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

public:
virtual String^ ReadToEnd() override

Return Value

Type: System::String^

A string containing all the characters from the current position to the end of the reader.

Exception Condition
ObjectDisposedException

The reader is closed.

Return to top
Show: