Share via


SP.ListCollection.item property (sp.js)

Gets the list at the specified index in the collection.

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

var value = SP.ListCollection.get_item ()

Parameters

  • index
    Type: int

    The zero-based index of the list in the collection.

Return value

Type: SP.List

The list at the specified index of the collection.

REST resource endpoint

To get a list, send a GET request to the Lists endpoint. See ListCollection resource for more information.