SP.WebCollection.itemAt Method (sp.js)

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

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

SP.WebCollection.itemAt()

Parameters

  • index
    Type: int

    The zero-based index of the Web site in the collection.

Return value

Type: SP.Web

The Web site at the specified index of the collection.

Remarks

This method gets the Web site at the index specified by the index parameter in the collection.