The FindOrCreate method returns the NBElement with the given Namespace, Name and Index. If the NBElement is not found then it is created.
Namespace: IBM.Broker.PluginAssembly: IBM.Broker.Plugin (in IBM.Broker.Plugin.dll) Version: 9.0.0.0
Syntax
Parameters
- space
- Type:
System String
The space of the child.
- name
- Type:
System String
The name of the child.
- index
- Type:
System Int32
The index of the child.
Return Value
Type: NBElementThe existing or the new element.
Remarks
The index parameter requests that the n'th element with the matching Name and Namespace 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