FileReadAllTextTransacted Method (KernelTransaction, String) |
[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.0
Syntax public static string ReadAllTextTransacted(
KernelTransaction transaction,
string path
)
Public Shared Function ReadAllTextTransacted (
transaction As KernelTransaction,
path As String
) As String
public:
static String^ ReadAllTextTransacted(
KernelTransaction^ transaction,
String^ path
)
static member ReadAllTextTransacted :
transaction : KernelTransaction *
path : string -> string
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The file to open for reading.
Return Value
Type:
StringAll lines of the file.
See Also