Discuss this help topic in SecureBlackbox Forum


TElCustomFileSystemAdapter     See also     

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

Lists the directory contents.


    virtual int EnumDirectoryEntries(string Path, string Mask, bool Recursive, ref TElVFSEntryInformationList EntryInfos);

    Overridable Function EnumDirectoryEntries(ByVal Path As String, ByVal Mask As String, ByVal Recursive As Boolean, ByRef EntryInfos As TElVFSEntryInformationList) As Integer

    function EnumDirectoryEntries(const Path : string; const Mask : string; Recursive : boolean; var EntryInfos : TElVFSEntryInformationList) : integer; virtual;

    int32_t EnumDirectoryEntries(const std::string &Path, const std::string &Mask, bool Recursive, TElVFSEntryInformationList &EntryInfos);

    integer EnumDirectoryEntries(string $Path, string $Mask, bool $Recursive, TElVFSEntryInformationList &$EntryInfos)


  • Path - path to the directory to read.
  • Mask - specifies the mask (wildcards) to select the entry names. Only the entries which names match the mask will be listed.
  • Recursive - specifies whether to recursively list the contents of the subdirectories.
  • EntryInfos - the resulting entry info list will be stored here.

Return value

    Returns a VFS error code.

Possible values:


    Call this method to list the contents of the directory.

See also:     DirectoryExists     DirectoryMake     DirectoryRemove    

Discuss this help topic in SecureBlackbox Forum