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 |
Copies a file |
|
Gets information about a file |
|
Puts a file or folder in the recycle bin |
|
Removes a folder (directory) |
|
Copies, moves, or changes the name of a file |
©2025 Caliper Corporation | www.caliper.com |