DirectoryEntryType()

语法

Result = DirectoryEntryType(#Directory)
概要
Returns the type of the current entry in the directory being listed with ExamineDirectory() and NextDirectoryEntry() functions.

参数

#Directory The directory examined with ExamineDirectory().

返回值

Returns one of the following values:
  #PB_DirectoryEntry_File     : This entry is a file.
  #PB_DirectoryEntry_Directory: This entry is a directory.

参阅

ExamineDirectory(), NextDirectoryEntry(), DirectoryEntryName(), DirectoryEntrySize(), DirectoryEntryAttributes(), DirectoryEntryDate()

已支持操作系统

所有

<- DirectoryEntrySize() - FileSystem Index - ExamineDirectory() ->