DOMObject Property
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A pointer to the top-level Document Object Model (DOM) node of a Web Part or Web Part Page.
object.DOMProperty
Parameters
Parameter |
Description |
---|---|
object |
A reference to a Part Object or WebPartPage Object object. |
Remarks
This property provides a handle to the HTML DOM node for the Web Part Page or Web Part. If you access this property through the Part Object, you get the root element of the Web Part, which is a child of the Web Part Page root element.
Example 1: Microsoft Visual Basic Scripting Edition
Code
Set objDOMObject = WPSC.WebPartPage.DOMObject
Set objDOMObject = WPSC.WebPartPage.Parts.Item(0).DOMObject
Example 2: Microsoft JScript
Code
var objDOMObject = WPSC.WebPartPage.DOMObject;
var objDOMObject = WPSC.WebPartPage.Parts.Item(0).DOMObject;
Requirements
Applies to: Part Object, WebPartPage Object