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

SolFSStorage.DeleteFile method

Filter:

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

SolFSStorage     See also    

Overview

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] Storage - handle to the storage returned by Create or Open function.

[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.

See also

Create     [DLL] MoveFile     OpenFile

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