FileReadLines Method (String, PathFormat) |
[AlphaFS] Reads the lines of a file.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static IEnumerable<string> ReadLines(
string path,
PathFormat pathFormat
)
Public Shared Function ReadLines (
path As String,
pathFormat As PathFormat
) As IEnumerable(Of String)
public:
static IEnumerable<String^>^ ReadLines(
String^ path,
PathFormat pathFormat
)
static member ReadLines :
path : string *
pathFormat : PathFormat -> IEnumerable<string>
Parameters
- path
- Type: SystemString
The file to read. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
IEnumerableStringAll the lines of the file, or the lines that are the result of a query.
See Also