FileReadLines Method (KernelTransaction, String, Encoding) |
[AlphaFS] Read the lines of a file that has a specified encoding.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static IEnumerable<string> ReadLines(
KernelTransaction transaction,
string path,
Encoding encoding
)
Public Shared Function ReadLines (
transaction As KernelTransaction,
path As String,
encoding As Encoding
) As IEnumerable(Of String)
public:
static IEnumerable<String^>^ ReadLines(
KernelTransaction^ transaction,
String^ path,
Encoding^ encoding
)
static member ReadLines :
transaction : KernelTransaction *
path : string *
encoding : Encoding -> IEnumerable<string>
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The file to read. - encoding
- Type: System.TextEncoding
The encoding that is applied to the contents of the file.
Return Value
Type:
IEnumerableStringAll the lines of the file, or the lines that are the result of a query.
See Also