FileOpenText Method (KernelTransaction, String) |
[AlphaFS] Opens an existing NativeMethods.DefaultFileEncoding encoded text file for reading.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static StreamReader OpenText(
KernelTransaction transaction,
string path
)
Public Shared Function OpenText (
transaction As KernelTransaction,
path As String
) As StreamReader
public:
static StreamReader^ OpenText(
KernelTransaction^ transaction,
String^ path
)
static member OpenText :
transaction : KernelTransaction *
path : string -> StreamReader
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The file to be opened for reading.
Return Value
Type:
StreamReaderA
StreamReader on the specified path.
See Also