Class FileSystemFileEntry
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The FileSystemFileEntry interface of the File and Directory Entries API represents a file in a file system. It offers properties describing the file's attributes, as well as the File(FileCallback, ErrorCallback) method, which creates a File(FileCallback, ErrorCallback) object that can be used to read the file.
[Value("FileSystemFileEntry")]
public class FileSystemFileEntry : FileSystemEntry
- Inheritance
-
FileSystemFileEntry
- Inherited Members
Remarks
Constructors
FileSystemFileEntry()
public FileSystemFileEntry()
Methods
File(FileCallback, ErrorCallback)
The FileSystemFileEntry interface's methodfile() returns a
File(FileCallback, ErrorCallback) object which can be used to read data from the file represented by
the directory entry.
[Value("file")]
public GlobalObject.Undefined File(FileCallback successCallback, ErrorCallback errorCallback = null)
Parameters
successCallbackFileCallbackerrorCallbackErrorCallback