Delete a Folder. Note, ReadOnly files will not be deleted.

This will not fail if the Folder does not exist.

Syntax

ISFileUtilities.DeleteFolder(folderName, [recursive], [ignoreReadOnly])

Parameters

NameTypeOptionalByRefDescription
folderName String The Name of the Folder to Delete.
recursive Boolean Optional Indicates whether sub-folders should be deleted. If omitted, a value of False is assumed.
ignoreReadOnly Boolean Optional Determines whether to ignore the Readonly state of Files. You cannot delete a Read-Only file. If omitted, a value of False is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
ISFileUtilities
Namespace:
Intersoft.ISRuntime6
Assembly:
ISRuntime6, Version=6.0.3
Target Framework:
.NET 9.0