removeObjectAt()

Removes a business object at a specified position in a business object array.

Syntax

int removeObjectAt(int index);

Parameters

index [in]
Is an integer that specifies the position for a child business object in a business object array.

Return values

Returns -1 for failure or zero for success.

Notes

After the remove operation, the business object array is compacted. Indexes are decremented for all business objects that have an index number higher than that of the removed business object.

Copyright IBM Corp. 1997, 2004