The FindOrCreate method returns the NBElement with the given Namespace, Name and Index. If the NBElement is not found then it is created.


The existing or the new element.

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.