DirectoryInfoDelete Method (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.0
Syntax public void Delete(
bool recursive,
bool ignoreReadOnly
)
Public Sub Delete (
recursive As Boolean,
ignoreReadOnly As Boolean
)
public:
void Delete(
bool recursive,
bool ignoreReadOnly
)
member Delete :
recursive : bool *
ignoreReadOnly : 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.
Exceptions Remarks See Also