SP.FileCollection.itemAt(index) Method

Applies to: SharePoint Foundation 2010

In this article
Return Value
Remarks
Applies To

Gets the file at the specified index of the collection.

var value = SP.FileCollection.itemAt(index);

Parameters

index

Type: Int32

The zero-based index of the element.

Return Value

Type: SP.File

The file at the specified index of the collection.

Remarks

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

Applies To

SP.FileCollection Class

See Also

Reference

SP.FileCollection Methods

SP.FileCollection Properties

SP Namespace