| [Overview][Constants][Types][Procedures and functions][Variables][Index] |
Deletes the specified file name
Source position: lazfileutils.pas line 116
function DeleteFileUTF8( |
const FileName: string |
):Boolean; |
FileName |
|
File name to delete in the function |
True if the specified file name is deleted
DeleteFileUTF8 is a Boolean function used to delete the specified file name.
For the Windows environment, DeleteFileW in Windows is called to remove the specified file name. For UNIX-like enviroments, DeleteFile in SysUtils is called to delete the specified file name. InvalidateFileStateCache is also called.
The return value contaIns True when Filename is successfully deleted from the local file system.
| lazarus-ccr.sourceforge.net |