SolFSStorage.DeleteFile method
Filter:
Pascal DLL C++ (DLL/Lib) C++ (VCL) C++ (.NET) C# VB.NETOverview
Deletes the file.
Declaration
[Pascal]
procedure DeleteFile(FileName: WideString);
[DLL]
long _stdcall StorageDeleteFile(unsigned long Storage, const wchar_t* FileName);
[C++ (DLL/Lib)]
void DeleteFile(unsigned short* FileName);
[C++ (VCL)]
void __fastcall DeleteFile(WideString FileName);
[C++ (.NET)]
void DeleteFile(String* fileName)
[C#]
void DeleteFile(string fileName)
[VB.NET]
Sub DeleteFile(fileName As String)
Parameters
- FileName - full name of the file.
[DLL] Return values
0 if the function succeeded or one of Error codes if the function failed.
Description
Use this method to delete file or stream from SolFSStorage.
When the file is deleted, all it's streams are deleted too.
When applied to the symbolic link, this method deletes ONLY the link itself, but not the file, referred to by the link.
