FileInfo Constructor (KernelTransaction, String) |
[AlphaFS] Initializes a new instance of the
FileInfo class, which acts as a wrapper for a file path.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public FileInfo(
KernelTransaction transaction,
string fileName
)
Public Sub New (
transaction As KernelTransaction,
fileName As String
)
public:
FileInfo(
KernelTransaction^ transaction,
String^ fileName
)
new :
transaction : KernelTransaction *
fileName : string -> FileInfo
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - fileName
- Type: SystemString
The fully qualified name of the new file, or the relative file name. Do not end the path with the directory separator character.
Remarks This constructor does not check if a file exists. This constructor is a placeholder for a string that is used to access the file in subsequent operations.
See Also