Class FileSystemDirectoryEntry
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The FileSystemDirectoryEntry interface of the File and Directory Entries API represents a directory in a file system. It provides methods which make it possible to access and manipulate the files in a directory, as well as to access the entries within the directory.
[Value("FileSystemDirectoryEntry")]
public class FileSystemDirectoryEntry : FileSystemEntry
- Inheritance
-
FileSystemDirectoryEntry
- Inherited Members
Remarks
Constructors
FileSystemDirectoryEntry()
public FileSystemDirectoryEntry()
Methods
CreateReader()
The FileSystemDirectoryEntry interface's methodcreateReader() returns a
FileSystemDirectoryReader object which can be used to read the entries in
the directory.
[Value("createReader")]
public FileSystemDirectoryReader CreateReader()
Returns
- FileSystemDirectoryReader
A FileSystemDirectoryReader object which can be used to read the
directory's entries.
Remarks
-File and Directory Entries API
-FileSystemDirectoryReader
-FileSystemDirectoryEntry
-FileSystemFileEntry
-FileSystemEntry
GetDirectory(string?, FileSystemFlags, FileSystemEntryCallback, ErrorCallback)
The FileSystemDirectoryEntry interface's methodgetDirectory() returns a
FileSystemDirectoryEntry object corresponding to a directory contained
somewhere within the directory subtree rooted at the directory on which it's called.
[Value("getDirectory")]
public GlobalObject.Undefined GetDirectory(string? path = null, FileSystemFlags options = null, FileSystemEntryCallback successCallback = null, ErrorCallback errorCallback = null)
Parameters
pathstringoptionsFileSystemFlagssuccessCallbackFileSystemEntryCallbackerrorCallbackErrorCallback
Returns
Remarks
GetFile(string?, FileSystemFlags, FileSystemEntryCallback, ErrorCallback)
The FileSystemDirectoryEntry interface's methodgetFile() returns a
FileSystemFileEntry object corresponding to a file contained somewhere
within the directory subtree rooted at the directory on which it's called.
[Value("getFile")]
public GlobalObject.Undefined GetFile(string? path = null, FileSystemFlags options = null, FileSystemEntryCallback successCallback = null, ErrorCallback errorCallback = null)
Parameters
pathstringoptionsFileSystemFlagssuccessCallbackFileSystemEntryCallbackerrorCallbackErrorCallback