Parent property

         

Returns an Element object which is the parent of this element in the
XML document hierarchy

Property type

An Element object.

Syntax

[Set] object.Parent [= Element]

The Parent property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type Element.
ElementAn Element object