A version of this page is also available for
The get__NewEnum method gets the IEnumVARIANT enumerator interface, which can be used to iterate through the collection objects. This method exists to enable foreach statements in Visual Basic and C#.
IUnknown ** ppEnumerator
[out] Reference to the IEnumVARIANT interface for an enumerator object for the collection. For information on IUnknown, see IUnknown.
This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:
The method completed successfully.
|Windows Embedded CE||Windows CE 2.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|