Document.ChildElementCount

Document.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; }

See Also