removeElement()

Remove a business object element from a business object array.

Syntax

void removeElement(BusObj element)
 

Parameters

elementReference
A variable that refers to an element of the array.

Exceptions

CollaborationException--The removeElement() method can set the following exception type for this exception:

Notes

After you delete an element from the array, the array resizes, changing the indexes of existing elements.

Examples

The following example deletes the element Child1 from the business object array items.

items.removeElement(Child1);
 

Copyright IBM Corp. 1997, 2003