SP.FolderCollection.item property (sp.js)
Gets the folder at the specified index in the collection.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var value = SP.FolderCollection.get_item ()
Parameters
- index
Return value
Type: SP.Folder
The folder at the specified index in the collection.
REST resource endpoint
To get a folder, send a GET request to the Folders endpoint. See FolderCollection resource for more information.