This documentation is archived and is not being maintained.

SP.WebCollection object

SharePoint 2013

Represents a collection of SP.Web object.

Last modified: March 09, 2015

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

var object = new SP.WebCollection()

The WebCollection object has the following members.

Constructor

The WebCollection object has the following constructor.

Constructor

Description

WebCollection

Initializes a new instance of the SP.WebCollection object.

Methods

The WebCollection object has the following methods.

Method

Description

add

Adds a new Web site to the collection.

itemAt

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

Properties

The WebCollection object has the following properties.

Property

Description

childItemType

item

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

Show: