Click or drag to resize

FileOpenTextTransacted Method (KernelTransaction, String, PathFormat)

[AlphaFS] Opens an existing UTF-8 encoded text file for reading.

Namespace:  Alphaleonis.Win32.Filesystem
Assembly:  AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax
public static StreamReader OpenTextTransacted(
	KernelTransaction transaction,
	string path,
	PathFormat pathFormat
)

Parameters

transaction
Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction.
path
Type: SystemString
The file to be opened for reading.
pathFormat
Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).

Return Value

Type: StreamReader
A StreamReader on the specified path.
Remarks
This method is equivalent to the StreamReader(String) constructor overload.
See Also