Click or drag to resize

FileSystemDelete Method

Deletes a file or directory from the current directory.

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

Parameters

path
Type: SystemString
The name of the file or directory to delete.
recursive
Type: SystemBoolean
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