SolFSStorage.SetFileLastAccessTime method


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

SolFSStorage     See also    


Sets the time of last access to the file.


    procedure SetFileLastAccessTime(const FileName: TSolFSString; Value: TDateTime);

[Plain C]
    long _stdcall StorageSetFileLastAccessTime(unsigned long Storage, const wchar_t* FileName, double NewTime);

[C++ (DLL/Lib)]
    void SetFileLastAccessTime(const unsigned short * FileName, DateTime Value);

[C++ (VCL)]
    void __fastcall SetFileLastAccessTime(const TSolFSString FileName, TDateTime Value);

[C++ (.NET)]
    void SetFileLastAccessTime(String* fileName, System::DateTime Value)

    void SetFileLastAccessTime(string fileName, System.DateTime Value)

    SetFileLastAccessTime(fileName As String, Value As DateTime)

    void setFileLastAccessTime( String fileName, Date value)


  • FileName - the full file name in the storage.
  • Value - use this parameter to set new time of last access file time.
  • [Plain C] Storage - handle to the storage returned by Create or Open function.

[Plain C]  Return values

0 if the function succeeded or one of Error codes if the function failed.


Use SetFileLastAccessTime to modify time of the last access to the file. CBFS Storage operates with UTC time. Wrapper classes operate with system local time.

See also