Hevea documentation

DualStreamReader.ReadLine Method (Encoding)

Reads a string line (\r\n or \n terminated) in a given text encoding.

public string ReadLine(
   Encoding encoding
);

Parameters

encoding
encoding to use

Return Value

the string line or null

Exceptions

Exception Type Condition
ArgumentNullException encoding is null
IOException an I/O error occurs
ObjectDisposedException the base stream has been closed

See Also

DualStreamReader Class | Hevea.Core.Net Namespace | DualStreamReader.ReadLine Overload List