Click or drag to resize

FileSystem.Delete Method

Deletes a file or directory from the current directory.

Namespace:  Atalasoft.Twain
Assembly:  Atalasoft.DotTwain (in Atalasoft.DotTwain.dll) Version: 11.5.0.0.0.156 (.NET 4.6.2, x86)
Syntax
public void Delete(
	string path,
	bool recursive
)

Parameters

path
Type: System.String
The name of the file or directory to delete.
recursive
Type: System.Boolean
Set to true if you want to perform a recursive delete.
Remarks
You cannot delete directories unless they are empty. Files and directories in the root directory cannot be deleted.
See Also