| Maptitude GISDK Help |
Puts a file or folder in the recycle bin.
PutInRecycleBin(string file_or_folder)
| Argument | Contents |
|---|---|
| file_or_folder | The complete path name, with drive, path, file name and extension |
Unlike DeleteFile() or RemoveDirectory(), the file or folder will not be deleted and will be available from the recycle bin.
| Error Type | Meaning |
|---|---|
| Error | file_or_folder is null or its length is greater than 240 or Windows returned an error |
| NotFound | The file does not exist |
| Function | Summary |
|---|---|
| DeleteFile() | Deletes a file |
| RemoveDirectory() | Removes a folder (directory) |
| ©2025 Caliper Corporation | www.caliper.com |