Discuss this help topic in SecureBlackbox Forum

TElCustomFileSystemAdapter.EnumDirectoryEntries

TElCustomFileSystemAdapter     See also     


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


Lists the directory contents.

Declaration

[C#]
    int EnumDirectoryEntries(string Path, string Mask, bool Recursive, out TElVFSEntryInformationList EntryInfos);

[VB.NET]
    Function EnumDirectoryEntries(ByVal Path As String, ByVal Mask As String, ByVal Recursive As Boolean, Out EntryInfos As TElVFSEntryInformationList) As Integer

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

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

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

[Java]
    int enumDirectoryEntries(String Path, String Mask, boolean Recursive, TElVFSEntryInformationList EntryInfos);

Parameters

  • 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:

Description

    Call this method to list the contents of the directory.

See also:     DirectoryExists     DirectoryMake     DirectoryRemove    

Discuss this help topic in SecureBlackbox Forum