FileReadAllLines Method (String) |
Opens a text file, reads all lines of the file, and then closes the file.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static string[] ReadAllLines(
string path
)
Public Shared Function ReadAllLines (
path As String
) As String()
public:
static array<String^>^ ReadAllLines(
String^ path
)
static member ReadAllLines :
path : string -> string[]
Parameters
- path
- Type: SystemString
The file to open for reading.
Return Value
Type:
StringAll lines of the file.
See Also