WebPartPage Object

Applies to: SharePoint Foundation 2010

Represents an instance of a Web Part Page.

Public Properties

The following table shows the properties of the WebPartPage object and a brief description of each

Property

Description

DOMObject Property  

A pointer to the top-level Document Object Model (DOM) node of a Web Part Page.

Parts Property   

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

WebServerRelativeURL Property

Returns the full server-relative URL to the Windows SharePoint Services subsite in which this page exists.

WebURL Property

Returns the full URL to the Windows SharePoint Services subsite in which this page exists.

Remarks

You can use this object to access the Web Parts contained on a page or to traverse the DOM starting at the top-level DOM node of the Web Part Page.

See Also

Reference

Part Object

Parts Collection