Share via


COMEnum2Object.getNext Method

Retrieves the next COM object of a collection.

Syntax

public COM getNext()

Run On

Called

Return Value

Type: COM Class
The next COM object of the collection.

Remarks

If the next element of the collection isn't a COM object or there are no more elements in the collection, an empty object is returned.

See Also

COMEnum2Object Class

COMEnum2Object.getFirst Method