Properties

This section describes the properties associated with the File API.

In this section

TopicDescription

code

Note  This object was supported in pre-release versions of a Windows Store app using JavaScript. As of a Windows Store app using JavaScript, it is obsolete and DOMError should be used instead. Applications using this object should be updated accordingly.

error

The error that occurred while reading a File, Blob, or MSStream object.

lastModifiedDate

The last modified date of the file.

length

Returns the number of files contained in a FileList object.

msInputStream (obsolete)

Note   Internet Explorer 11. This property was supported in pre-release versions of IE11. As of IE11, it is obsolete.

Returns the underlying IInputStream object.

msRandomAccessStream (obsolete)

Obsolete: Provides access to an IRandomAccessStream object.

name

The name of the file.

oneTimeOnly

Specifies whether an object created with createObjectURL can only used once.

readyState

Contains a constant indicating the current state of the FileReader or MSStreamReader object.

result

The result of the read operation.

size

The size of the Blob object in bytes.

type

Returns the content type of the object.

 

 

 

Show:
© 2014 Microsoft