Platform SDK: Exchange Server |
Gets an EnumVariant enumeration object for the collection.
[propget, id(DISPID_NEWENUM), restricted] HRESULT _NewEnum ( [out, retval] LPUNKNOWN *pVal);
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.