SolFSStorage.FileExists method
Filter:
Pascal DLL C++ (DLL/Lib) C++ (VCL) C++ (.NET) C# VB.NETOverview
Tests if a specified file exists.
Declaration
[Pascal]
function FileExists(FileName: WideString) : Boolean;
[DLL]
long _stdcall StorageFileExists(unsigned long Storage, const wchar_t* FileName, char *Exists);
[C++ (DLL/Lib)]
bool FileExists(unsigned short * fileName)
[C++ (VCL)]
bool __fastcall FileExists(WideString FileName);
[C++ (.NET)]
bool FileExists(String* fileName)
[C#]
bool FileExists(string fileName)
[VB.NET]
Function FileExists(fileName As String) As Boolean
Parameters
- FileName - full name of the file.
Return value
True if file exists in the SolFS storage.
False if file is not present in the SolFS storage.
[DLL] 0 if the function succeeded or one of Error codes if the function failed.
Description
Use FileExists when you need to check if file with specified name is present in the SolFS storage.
