Platform SDK: Exchange Server

IACEs::_NewEnum Property

Gets an EnumVariant enumeration object for the collection.

IDL Definition

[propget, id(DISPID_NEWENUM), restricted]
HRESULT _NewEnum ( [out, retval] LPUNKNOWN *pVal);

Remarks

The read-only _NewEnum property returns the IUnknown interface on an EnumVariant object that can be used to enumerate the members of the collection. Languages such as Visual Basic use the EnumVariant object (IEnumVariant interface) in the For Each item in Collection constructs. This property is marked in the IDL as "restricted," which directs the Visual Basic object browser not to display the property.