FileDeleteTransacted Method (KernelTransaction, String, Boolean, PathFormat) |
[AlphaFS] Deletes the specified file.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public static void DeleteTransacted(
KernelTransaction transaction,
string path,
bool ignoreReadOnly,
PathFormat pathFormat
)
Public Shared Sub DeleteTransacted (
transaction As KernelTransaction,
path As String,
ignoreReadOnly As Boolean,
pathFormat As PathFormat
)
public:
static void DeleteTransacted(
KernelTransaction^ transaction,
String^ path,
bool ignoreReadOnly,
PathFormat pathFormat
)
static member DeleteTransacted :
transaction : KernelTransaction *
path : string *
ignoreReadOnly : bool *
pathFormat : PathFormat -> 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. - ignoreReadOnly
- Type: SystemBoolean
overrides the read only FileAttributes of the file. - pathFormat
- Type: Alphaleonis.Win32.FilesystemPathFormat
Indicates the format of the path parameter(s).
Exceptions Remarks If the file to be deleted does not exist, no exception is thrown.
See Also