Class FileSystemDirectoryReader
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The FileSystemDirectoryReader interface of the File and Directory Entries API lets you access the FileSystemFileEntry-based objects (generally FileSystemFileEntry or FileSystemDirectoryEntry) representing each entry in a directory.
[Value("FileSystemDirectoryReader")]
public class FileSystemDirectoryReader
- Inheritance
-
FileSystemDirectoryReader
- Inherited Members
Remarks
Constructors
FileSystemDirectoryReader()
public FileSystemDirectoryReader()
Methods
ReadEntries(FileSystemEntriesCallback, ErrorCallback)
The FileSystemDirectoryReader interface's readEntries() method retrieves the directory entries
within the directory being read and delivers them in an array to a provided callback function.
[Value("readEntries")]
public GlobalObject.Undefined ReadEntries(FileSystemEntriesCallback successCallback, ErrorCallback errorCallback = null)
Parameters
successCallbackFileSystemEntriesCallbackerrorCallbackErrorCallback
Returns
Remarks
The objects in the array are all based upon FileSystemEntry.
Generally, they are either FileSystemFileEntry objects, which represent standard files, or FileSystemDirectoryEntry objects, which represent directories.
-File and Directory Entries API
-FileSystemDirectoryEntry
-FileSystem