File.ReadAllText Method (KernelTransaction, String, PathFormat)
Click or drag to resize
FileReadAllText 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.0
Syntax
public static string ReadAllText(
	KernelTransaction transaction,
	string path,
	PathFormat pathFormat
)

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: String
All lines of the file.
See Also