FileSystemFileEntry Class

A file of a FileSystem (https://wicg.github.io/entries-api/#api-fileentry).

public sealed class FileSystemFileEntry : FileSystemEntry
Inheritance
FileSystemEntry FileSystemFileEntry

Properties

NameDescription
IsFileGets whether the entry is a file.

Gets whether the entry is a file.

public override bool IsFile { get; }

Methods

NameDescription
File(FileCallback, ErrorCallback?)Calls successCallback (from a task) with a File of the content of the file, or errorCallback with a NotFoundError when the file is no longer in its file system (a file that a script removed from its DataTransfer).

File(FileCallback, ErrorCallback?)

FileSystemEntry.cs

Calls successCallback (from a task) with a File of the content of the file, or errorCallback with a NotFoundError when the file is no longer in its file system (a file that a script removed from its DataTransfer).

public void File(FileCallback successCallback, ErrorCallback? errorCallback = null)