WebSphere Message Broker™ V8.0.0.0 .NET Plugin Node API
AddBefore Method (source)
NamespacesIBM.Broker.PluginNBElementAddBefore(NBElement)
SUMMARY
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.
Declaration Syntax
C#Visual BasicVisual C++F#
public NBElement AddBefore(
	NBElement source
)
Public Function AddBefore ( _
	source As NBElement _
) As NBElement
public:
NBElement^ AddBefore(
	NBElement^ source
)
member AddBefore : 
        source:NBElement -> NBElement 
Parameters
source (NBElement)
The source element.
Return Value
The before 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 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.

Assembly: IBM.Broker.Plugin (Module: IBM.Broker.Plugin) Version: 8.0.0.0