EldoS
 Table of Contents >  SolFSStorage.FileExists method
Navigation
Web site
Support
Table Of Contents
Send comments on this topic

SolFSStorage.FileExists method

Filter:

Pascal    DLL    C++ (DLL/Lib)    C++ (VCL)    C++ (.NET)    C#    VB.NET   

SolFSStorage     See also    

Overview

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.
  • [DLL] Storage - handle to the storage returned by Create or Open function.
  • [DLL] Exists - returns 1 if file exists in the Storage,
    0 if file is not present in the SolFS storage.

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.

See also

FindFirst

Contact Us | Subscribe | Terms of Use | Trademarks | Privacy Statement
Copyright (c) 1998-2008, EldoS Corporation