Share via


Parts Property

Applies to: SharePoint Foundation 2010

Returns the collection of Web Parts on a Web Part Page.

objWebPartPage.Parts

Parameters

Parameter

Description

objWebPartPage  

A reference to a WebPartPage Object.

Example: Microsoft Visual Basic Scripting Edition

Code

objParts = WPSC.WebPartPage.Parts

Example: Microsoft JScript

Code

var objParts = WPSC.WebPartPage.Parts;

Requirements

Applies to: WebPartPage Object

See Also

Reference

Parts Collection

Other Resources

Web Part Page Services Component (WPSC) Object Model