Share via


DesignerDocument.pageContentElement Property

SharePoint Designer Developer Reference

Returns an IHTMLElement object that represents the HTML element containing the contents of the specified document.

Syntax

expression.pageContentElement

expression   Required. A variable that represents a DesignerDocument object.

Remarks

Generally, the element returned by using the pageContentElement property corresponds to the BODY element. Therefore, you can assign the pageContentElement property to an BodyElement object without receiving a Type Mismatch error.

See Also