NBElement FindOrCreate Method (Int32, String, Int32)IBM Integration Bus
The FindOrCreate method returns the NBElement with the given Type, Name and Index. If the NBElement is not found then it is created.

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

public NBElement FindOrCreate(
	int type,
	string name,
	int index
)

Return Value

Type: NBElement
The existing or the new element.
Remarks

The index parameter requests that the n'th element with the matching Type and 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.

See Also