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)
Syntax
'Déclaration
Public Overrides Function ReadLine As String
public override string ReadLine()
public:
virtual String^ ReadLine() override
abstract ReadLine : unit -> string
override ReadLine : unit -> string
public override function ReadLine() : String
Return Value
Type: System.String
The next line from the input stream, or nulla null reference (Nothing in Visual Basic) if all characters have been read.
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.