FileReadLines Method (KernelTransaction, 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(
KernelTransaction transaction,
string path,
PathFormat pathFormat
)
Public Shared Function ReadLines (
transaction As KernelTransaction,
path As String,
pathFormat As PathFormat
) As IEnumerable(Of String)
public:
static IEnumerable<String^>^ ReadLines(
KernelTransaction^ transaction,
String^ path,
PathFormat pathFormat
)
static member ReadLines :
transaction : KernelTransaction *
path : string *
pathFormat : PathFormat -> IEnumerable<string>
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - 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