NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

StringReader.ReadLine

Reads a line.

[Visual Basic]
Overrides Public Function ReadLine() As String
[C#]
public override string ReadLine();
[C++]
public: override String* ReadLine();
[JScript]
public override function ReadLine() : String;

Return Value

The next line from the underlying string, or a null reference (in Visual Basic Nothing) if the end of the underlying string is reached.

Exceptions

Exception Type Condition
IOException An I/O error occurs.

Remarks

A line is defined as a sequence of characters followed by a carriage return ("\r"), a line feed ("\n"), or a carriage return immediately followed by a line feed. The resulting string does not contain the terminating carriage return and/or line feed. The returned value is a null reference (Nothing) if the end of the underlying string has been reached.

See Also

StringReader Class | StringReader Members | System.IO Namespace