Share via


BufferedReadStream.ReadLine(Int32) Method

Definition

Reads a line. A line is defined as a sequence of characters followed by a carriage return immediately followed by a line feed. The resulting string does not contain the terminating carriage return and line feed.

public:
 System::String ^ ReadLine(int lengthLimit);
public string ReadLine (int lengthLimit);
member this.ReadLine : int -> string
Public Function ReadLine (lengthLimit As Integer) As String

Parameters

lengthLimit
Int32

Maximum allowed line length.

Returns

A line.

Applies to