Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

item method

Returns a File object from a FileList object.

Internet Explorer 10

 

Syntax

var retVal = FileList.item(index);

Parameters

index [in]

Type: number

The index (starting from 0) of the File object in the FileList object to return.

retVal [out, retval]

Type: File

Remarks

The first File object in a FileList object called selectedFiles can be accessed by either of the following methods:

  • selectedFiles.item(0)
  • selectedFiles[0]

See also

FileList

 

 

Show:
© 2017 Microsoft