| Maptitude GISDK Help |
Deletes a file.
In Version 6.0/2012 added the NotFound error.
DeleteFile(string path)
| Argument | Contents |
|---|---|
| path | The full or partial path of the file to be deleted |
DeleteFile() does not accept wildcards (? and *).
For more information on full and partial paths, see Identifying Files and Folders.
To put a file or folder into the recycle bin rather than deleting it, use PutInRecycleBin().
| Error Type | Meaning |
|---|---|
| Error | The file could not be deleted |
| NotFound | The file does not exist |
| Function | Summary |
|---|---|
| CopyFile() | Copies a file |
| GetFileInfo() | Gets information about a file |
| PutInRecycleBin() | Puts a file or folder in the recycle bin |
| RemoveDirectory() | Removes a folder (directory) |
| RenameFile() | Copies, moves, or changes the name of a file |
| ©2025 Caliper Corporation | www.caliper.com |