IEnumVARIANT interface (oaidl.h)

Provides a method for enumerating a collection of variants, including heterogeneous collections of objects and intrinsic types. Callers of this interface do not need to know the specific type (or types) of the elements in the collection.

Inheritance

The IEnumVARIANT interface inherits from the IUnknown interface. IEnumVARIANT also has these types of members:

Methods

The IEnumVARIANT interface has these methods.

Method Description
IEnumVARIANT::Clone Creates a copy of the current state of enumeration.
IEnumVARIANT::Next Retrieves the specified items in the enumeration sequence.
IEnumVARIANT::Reset Resets the enumeration sequence to the beginning.
IEnumVARIANT::Skip Attempts to skip over the next celt elements in the enumeration sequence.

Remarks

To see how to implement a collection of objects using IEnumVARIANT, refer to the file Enumvar.cpp in the Lines sample code.

Requirements

   
Target Platform Windows
Header oaidl.h