Maptitude GISDK Help

DeleteFile()

Summary

Deletes a file.

 

Changes

In Version 6.0/2012 added the NotFound error.

 

Syntax

DeleteFile(string path)

 

Argument Contents
path The full or partial path of the file to be deleted

 

Notes

Error Codes

Error Type Meaning
Error The file could not be deleted
NotFound The file does not exist

 

See Also

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