SP.FileCollection.itemAt Method (sp.js)

Gets the file at the specified index of the collection.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.FileCollection.itemAt()

Parameters

  • index
    Type: Number

    The zero-based index of the element.

Return value

Type: SP.File

Remarks

This method returns the file at the index specified by the index parameter of the file collection.