In The Hand LtdIn The Hand
ReadAllLines Method (path)
NamespacesInTheHand.IOFileHelperReadAllLines(String)
.NET Components for Mobility
Opens a text file, reads all lines of the file, and then closes the file.
Declaration Syntax
C#Visual Basic
public static string[] ReadAllLines(
	string path
)
Public Shared Function ReadAllLines ( _
	path As String _
) As String()
Parameters
path (String)
The file to open for reading.
Return Value
A string array containing all lines of the file.
Exceptions
ExceptionCondition
ArgumentNullExceptionpath is a null reference (Nothing in Visual Basic).

Assembly: InTheHand (Module: InTheHand) Version: 7.0.0.0