Delete a File.

This will not fail if the File does not exist.

Syntax

ISFileUtilities.DeleteFile(fileName, [ignoreReadOnly])

Parameters

NameTypeOptionalByRefDescription
fileName String The Name of the File to Delete.
ignoreReadOnly Boolean Optional Determines whether to ignore the Readonly state of the File. 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