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

SolFSStorage.DeleteDirectory method

Filter:

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

SolFSStorage     See also    

Overview

Deletes a directory from SolFSStorage.

Declaration

[Pascal]
    procedure DeleteDirectory(Directory: WideString);

[DLL]
    long _stdcall StorageDeleteDirectory(unsigned long Storage, const wchar_t* Directory);

[C++ (DLL/Lib)]
    void DeleteDirectory(unsigned short* Directory);

[C++ (VCL)]
    void __fastcall DeleteDirectory(WideString Directory);

[C++ (.NET)]
    void DeleteDirectory(String* directory)

[C#]
    void DeleteDirectory(string directory)

[VB.NET]
    Sub DeleteDirectory(directory As String)

Parameters

  • Directory - the full name of the directory to be deleted.
  • [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 DeleteDirectory if you want to delete an existing directory from the SolFSStorage.
[SolFS 2] DeleteDirectory doesn't delete directories which are not empty.

See also

CreateDirectory     ForceCreateDirectories    

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