NBElement AddLastChild Method IBM Integration Bus
The AddLastChild method attaches as the last child the given NBElement and its children, or a copy of the given NBElement if it is still attached somewhere else.

Namespace: IBM.Broker.Plugin
Assembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
Syntax

public NBElement AddLastChild(
	NBElement source
)

Return Value

Type: NBElement
The last child element.
Remarks

An unattached element (an element with no parent), and any child elements it might possess, is connected to the element tree as the last child 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 last child of the target (this) element.
See Also