Element.NextElementSibling

Element.NextElementSibling property

Returns the next sibling element node of this element. null if this element has no element sibling nodes that come after this one in the document tree.

public Element NextElementSibling { get; }

See Also