FileDelete Method (KernelTransaction, String) |
[AlphaFS] Deletes the specified file.
Namespace: Alphaleonis.Win32.FilesystemAssembly: AlphaFS (in AlphaFS.dll) Version: 2.0
Syntax public static void Delete(
KernelTransaction transaction,
string path
)
Public Shared Sub Delete (
transaction As KernelTransaction,
path As String
)
public:
static void Delete(
KernelTransaction^ transaction,
String^ path
)
static member Delete :
transaction : KernelTransaction *
path : string -> unit
Parameters
- transaction
- Type: Alphaleonis.Win32.FilesystemKernelTransaction
The transaction. - path
- Type: SystemString
The name of the file to be deleted. Wildcard characters are not supported.
Remarks If the file to be deleted does not exist, no exception is thrown.
See Also