Export (0) Print
Expand All

IEnumVARIANT interface

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.

Members

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

Methods

The IEnumVARIANT interface has these methods.

MethodDescription
Clone

Creates a copy of the current state of enumeration.

Next

Retrieves the specified items in the enumeration sequence.

Reset

Resets the enumeration sequence to the beginning.

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

IDL

OaIdl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft