_NewEnum Property (IAddressees)
Topic Last Modified: 2006-06-13
Returns an IEnumVariant interface on an enumeration object for the collection. This property is hidden from Microsoft® Visual Basic® and Visual Basic Scripting Edition (VBScript).
Applies To
Syntax
HRESULT get__NewEnum(IUnknown** pVal);
Parameters
- pVal
Returned reference to the objects IUnknown Interface.
Remarks
This property is hidden within Visual Basic and VBScript. It is a standard property used to support enumerating collections, such as the
For Each in
construct in Visual Basic.
Example
Dim iAddr as IAddressee
Dim iAddrs as IAddressees
...
For Each iAddr in iAddrs ' _NewEnum used internally here
...
Next iAddr