property Element.ChildPosition as Long
Specifies the position of the element while it is a child element.

TypeDescription
Long A Long expression that specifies the position of the element in the parent's children collection.
The ChildPosition property indicates the position of the element in the parent's children collection. Use the Parent property to change the element's parent. The AllowInsertChild property of the Element object specifies whether the element supports adding child elements at runtime. The AllowChangeParent property of the Element object specifies whether the element can change its parent at runtime. The ParentChangeElement event occurs when the element's parent is changed. The Expanded property expands or collapses a node.

The following screen shot shows the elements arranged as a tree: