FileOpenWrite Method (KernelTransaction, String, PathFormat) |
[AlphaFS] Opens an existing file or creates a new file for writing.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static FileStream OpenWrite(
KernelTransaction transaction,
string path,
PathFormat pathFormat
)
Public Shared Function OpenWrite (
transaction As KernelTransaction,
path As String,
pathFormat As PathFormat
) As FileStream
public:
static FileStream^ OpenWrite(
KernelTransaction^ transaction,
String^ path,
PathFormat pathFormat
)
static member OpenWrite :
transaction : KernelTransaction *
path : string *
pathFormat : PathFormat -> FileStream
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The file to be opened for writing. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Return Value
Type:
FileStreamAn unshared
FileStream object on the specified path with
Write access.
See Also