Discuss this help topic in SecureBlackbox Forum

TElTarWriter.MakeDir

TElTarWriter     See also     


Filter: C#  VB.NET  Pascal  C++  PHP  Java  


Creates directory within the archive.

Declaration

[VB.NET]
    Function MakeDir(ByVal Path As String) As TElTarArchiveDirectoryEntry
    Function MakeDir(ByVal Parent As TElTarArchiveDirectoryEntry, ByVal Path As String) As TElTarArchiveDirectoryEntry

[Pascal]
    function MakeDir(const Path : string) : TElTarArchiveDirectoryEntry; overload;
    function MakeDir(Parent : TElTarArchiveDirectoryEntry; const Path : string) : TElTarArchiveDirectoryEntry; overload;

[C++]
    TElTarArchiveDirectoryEntryHandle MakeDir(const std::string &Path);
    TElTarArchiveDirectoryEntryHandle MakeDir(TElTarArchiveDirectoryEntry &Parent, const std::string &Path);
    TElTarArchiveDirectoryEntryHandle MakeDir(TElTarArchiveDirectoryEntry *Parent, const std::string &Path);

[PHP]
    TElTarArchiveDirectoryEntry MakeDir(string $Path)
    TElTarArchiveDirectoryEntry MakeDir(TElTarArchiveDirectoryEntry $Parent, string $Path)

[Java]
    TElTarArchiveDirectoryEntry makeDir(TElTarArchiveDirectoryEntry Parent, String Path);
    TElTarArchiveDirectoryEntry makeDir(String Path);

Parameters

  • Parent - entry directory in which the new subdirectory should be created. If omitted, the root entry is used.
  • Path - path to the directory which should be created

Return value

Returns a TElTarArchiveDirectoryEntry object which represents a newly created directory.

Description

Use this method to create a subdirectory in the existing archive.

See also:     Add     AddDirContents    

Discuss this help topic in SecureBlackbox Forum