Gets the root element of a bound region of data in a document. If the region is empty, the property returns Nothing. Read-only.

Note
References to DTDs from custom XML parts are not supported. DTD references in custom XML parts will not resolve, and custom XML parts containing DTD references generate an exception when an attempt is made to save the file's content to a flat XML file.

Syntax

expression.DocumentElement

expression An expression that returns a CustomXMLPart object.

Return Value
CustomXMLNode

See also: