SP.WebParts.WebPartDefinitionCollection object (sp.js)
Implements a collection of Web Part definition objects.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
var object = new SP.WebParts.WebPartDefinitionCollection()
Members
The WebPartDefinitionCollection object has the following members.
Constructor
The WebPartDefinitionCollection object has the following constructor.
Constructor |
Description |
---|---|
Initializes a new instance of the SP.WebParts.WebPartDefinitionCollection object (sp.js). |
Methods
The WebPartDefinitionCollection object has the following methods.
Method |
Description |
---|---|
Returns the Web Part definition object in the collection with a Web Part identifier equal to the controlId parameter. |
|
Returns the Web Part definition object in the collection with a Web Part identifier equal to the id parameter. |
|
Gets the Web Part definition at the specified index in the collection. |
Properties
The WebPartDefinitionCollection object has the following properties.
Property |
Description |
---|---|
Gets the Web Part definition at the specified index in the collection. |