Share via


COMEnum2Object.getFirst Method

Retrieves the first COM object of a collection.

Syntax

public COM getFirst()

Run On

Called

Return Value

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

Remarks

If the collection doesn't contain a COM object, an empty object is returned.

See Also

COMEnum2Object Class

COMEnum2Object.getNext Method