The AddBefore method attaches as the previous sibling the given NBElement and its children, or a copy of the given NBElement if it is still attached somewhere else.
Namespace: IBM.Broker.PluginAssembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
public NBElement AddBefore(
NBElement source
)
public NBElement AddBefore(
NBElement source
)
Public Function AddBefore (
source As NBElement
) As NBElement
Public Function AddBefore (
source As NBElement
) As NBElement
public:
NBElement^ AddBefore(
NBElement^ source
)
public:
NBElement^ AddBefore(
NBElement^ source
)
member AddBefore :
source : NBElement -> NBElement
member AddBefore :
source : NBElement -> NBElement
Return Value
Type:
NBElementThe before element.
An unattached element (an element with no parent), and any child elements it might possess, is connected to the element tree as the previous 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 previous sibling of the target (this) element.