Element.ChildElementCount

Element.ChildElementCount property

Returns the current number of element nodes that are children of this element. 0 if this element has no child nodes that are of nodeType 1.

public int ChildElementCount { get; }

Property Value

The child element count.

See Also