SP.WebCollection.item property (sp.js)

Gets the Web site at the specified index of the collection.

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

var value = SP.WebCollection.get_item ()

Parameters

  • index

Return value

Type: SP.Web

The Web site at the specified index of the collection.