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)
Syntax
'Déclaration
Public Overrides Function ReadToEnd As String
public override string ReadToEnd()
public:
virtual String^ ReadToEnd() override
abstract ReadToEnd : unit -> string
override ReadToEnd : unit -> string
public override function ReadToEnd() : String
Return Value
Type: System.String
A string containing all the characters from the current position to the end of the reader.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The reader is closed. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.