Use this function to get info if there are more items in the ObjectCollection.
HasNext() as Boolean
Parameters
Returns
Boolean
True if there are more items.
Remarks
The collection implements IIterator, which means you can use the MoveFirst, GetNext, PeekNext and HasNext functions to iterate through the items in the class.