Table of Contents

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 method
createReader() 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

GetDirectory(string?, FileSystemFlags, FileSystemEntryCallback, ErrorCallback)

The FileSystemDirectoryEntry interface's method
getDirectory() 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

path string
options FileSystemFlags
successCallback FileSystemEntryCallback
errorCallback ErrorCallback

Returns

GlobalObject.Undefined

None (GlobalObject.Undefined).

Remarks

GetFile(string?, FileSystemFlags, FileSystemEntryCallback, ErrorCallback)

The FileSystemDirectoryEntry interface's method
getFile() 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

path string
options FileSystemFlags
successCallback FileSystemEntryCallback
errorCallback ErrorCallback

Returns

GlobalObject.Undefined

None (GlobalObject.Undefined).

Remarks