FileReadAllLinesTransacted Method (KernelTransaction, String, PathFormat) |
[AlphaFS] Opens a text file, reads all lines of the file, and then closes the file.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static string[] ReadAllLinesTransacted(
KernelTransaction transaction,
string path,
PathFormat pathFormat
)
Public Shared Function ReadAllLinesTransacted (
transaction As KernelTransaction,
path As String,
pathFormat As PathFormat
) As String()
public:
static array<String^>^ ReadAllLinesTransacted(
KernelTransaction^ transaction,
String^ path,
PathFormat pathFormat
)
static member ReadAllLinesTransacted :
transaction : KernelTransaction *
path : string *
pathFormat : PathFormat -> string[]
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The file to open for reading. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
StringAll lines of the file.
See Also