The AddAfter method attaches as the next sibling the given NBElement and its children, or a copy of the given NBElement if it is still attached somewhere else.


- source (NBElement)
- The source element.

The after element.

An unattached element (an element with no parent), and any child elements it might possess, is connected to the element tree as the next sibling of the target (this) element.
An attached element (an element that has a parent) is copied and the copy is connected to the element tree as the next sibling of the target (this) element.