PTextReader.ReadLine Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads a line of characters from the current stream and returns the data as a string.
public:
override System::String ^ ReadLine();
public override string ReadLine ();
override this.ReadLine : unit -> string
Public Overrides Function ReadLine () As String
Returns
The next line from the input stream, or null if all characters have been read.
Exceptions
The number of characters in the next line is larger than MaxValue
An I/O error occurs.
There is insufficient memory to allocate a buffer for the returned string.
The TextReader is closed.