Share via


_NewEnum Property (IVariants)

Topic Last Modified: 2006-06-13

Returns the variant at the specified location in the collection. This property is read-only.

Applies To

IVariants Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In

CDOEX.DLL

Syntax

HRESULT get__NewEnum(IUnknown** Unknown);

Parameters

  • Unknown
    The IUnknown interface on an object exposing the IEnumVARIANT interface.

Remarks

Call QueryInterface on the returned interface for the IEnumVARIANT (IID_IEnumVARIANT) interface on the object. You can then use this interface to enumerate the collection.

Programmers using Microsoft® Visual Basic® do not use this restricted property directly. It is used automatically in For Each In constructs.