WebSphere Message Broker™ V8.0.0.0 .NET Plugin Node API
FindOrCreate Method (name, index)
NamespacesIBM.Broker.PluginNBElementFindOrCreate(String, Int32)
SUMMARY
The FindOrCreate method returns the NBElement with the given Name and Index. If the NBElement is not found then it is created.
Declaration Syntax
C#Visual BasicVisual C++F#
public NBElement FindOrCreate(
	string name,
	int index
)
Public Function FindOrCreate ( _
	name As String, _
	index As Integer _
) As NBElement
public:
NBElement^ FindOrCreate(
	String^ name, 
	int index
)
member FindOrCreate : 
        name:string * 
        index:int -> NBElement 
Parameters
name (String)
The name of the child.
index (Int32)
The index of the child.
Return Value
The existing or the new element.
Remarks

The index parameter requests that the n'th element with the matching Name is returned, where n is the value of the index.

If index is positive, the search is done forwards, starting with the FirstChild of this element.

If index is negative, the search is done backwards, starting with the LastChild of this element.

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