File.ReadLine Method

Reads a line of text from a file.

bool ReadLine(char[] buffer, int maxlength)

Parameters

char[] buffer

String buffer to hold the line.

int maxlength

Maximum size of string buffer.

Return Value

True on success, false otherwise.