Creates a new object which implements the interface IEnumVARIANT.
Role:
Use this function to instantiate a new object which
implements the
IEnumVARIANT interface and traverses the supplied array of objects. Such objects are required
to implement the get__NewEnum property in Automation collections.
(see the CATIACollection IDL interface for a description of
the get__NewEnum property)
The IEnumVARIANT interface is used by VB in the ForEach
construct to traverse collections of objects.
Parameters:
iElementArray
An array of elements to traverse during iteration (the array
is copied internally).
iArraySize
The size of the element array.
iElementType
The IID of the Automation interface characterizing the elements.
oEnumerator
The returned IEnumVARIANT-implementing object.
This object is included in the file: CATCreateIEnumVARIANT.h