The following is the Interface Definition Language (IDL) definition for the IEnumVARIANT interface as seen in the stdole typelib.
interface IEnumVARIANT : IUnknown
HRESULT Next([in] unsigned long celt, [in] VARIANT* rgvar, [out] unsigned long* pceltFetched);
HRESULT Skip([in] unsigned long celt);
HRESULT Clone([out] IEnumVARIANT** ppenum);
This interface has four methods only one of which (the Next method) is currently used by VB when you enumerate a collection using the For Each...Next syntax.
vbVision Home | Super Collections