Share via


SP.WebCollection object

Represents a collection of SP.Web object.

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

var object = new SP.WebCollection()

Members

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.

See also

Other resources

WebCollection resource