Discuss this help topic in SecureBlackbox Forum

TElZipArchiveDirectoryEntry.EntryWithName

TElZipArchiveDirectoryEntry     See also     


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


Returns the directory entry by its name.

Declaration

[C#]
    TElZipArchiveDirectoryEntry EntryWithName(string AName);
    TElZipArchiveDirectoryEntry EntryWithName(string AName, bool CaseSensitive);

[VB.NET]
    Function EntryWithName(ByVal AName As String) As TElZipArchiveDirectoryEntry
    Function EntryWithName(ByVal AName As String, ByVal CaseSensitive As Boolean) As TElZipArchiveDirectoryEntry

[Pascal]
    function EntryWithName(const AName : string): TElZipArchiveDirectoryEntry;

[C++]
    TElZipArchiveDirectoryEntryHandle EntryWithName(const std::string &AName);
    TElZipArchiveDirectoryEntryHandle EntryWithName(const std::string &AName, bool CaseSensitive);

[PHP]
    TElZipArchiveDirectoryEntry EntryWithName(string $AName)
    TElZipArchiveDirectoryEntry EntryWithName(string $AName, bool $CaseSensitive)

[Java]
    TElZipArchiveDirectoryEntry entryWithName(String AName, boolean CaseSensitive);
    TElZipArchiveDirectoryEntry entryWithName(String AName);

Parameters

  • AName - the name of the entry.
  • CaseSensitive - set this parameter to true if names are case-sensitive.

Return value

    Returns the directory entry by its name. If there is no such entry in the directory, returns null/nil/Nothing.

Description

    Use this method to find the archive directory entry by its name. Use of this method makes sense only if IsDirectory is True.

See also:     Entries     EntryWithPath    

Discuss this help topic in SecureBlackbox Forum