DirectoryInfoDelete Method (Boolean, Boolean, Boolean) |
[AlphaFS] Deletes this instance of a
DirectoryInfo, specifying whether to delete files and subdirectories.
Namespace:
Alphaleonis.Win32.Filesystem
Assembly:
AlphaFS (in AlphaFS.dll) Version: 2.2
Syntax public void Delete(
bool recursive,
bool ignoreReadOnly,
bool continueOnNotFound
)
Public Sub Delete (
recursive As Boolean,
ignoreReadOnly As Boolean,
continueOnNotFound As Boolean
)
public:
void Delete(
bool recursive,
bool ignoreReadOnly,
bool continueOnNotFound
)
member Delete :
recursive : bool *
ignoreReadOnly : bool *
continueOnNotFound : bool -> unit
Parameters
- recursive
- Type: SystemBoolean
to delete this directory, its subdirectories, and all files; otherwise, . - ignoreReadOnly
- Type: SystemBoolean
ignores read only attribute of files and directories. - continueOnNotFound
- Type: SystemBoolean
When does not throw an DirectoryNotFoundException when the directory does not exist.
Exceptions Remarks See Also