property Element.VisibleChildCount as Long
Counts the number of visible child elements.

TypeDescription
Long A Long expression that specifies the number of visible child elements.
The VisibleChildCount property specifies the list of visible children. The ChildCount property counts the number of child elements. The VisibleChildren property specifies the list of visible child elements. 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.