This documentation is archived and is not being maintained.

_NewEnum Property (ICalendarParts)

EWS Managed API

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

ICalendarParts Interface

Type Library

Microsoft CDO for Exchange 2000 Library

DLL Implemented In


HRESULT get__NewEnum(IUnknown** pVal);


Returned reference to the IUnknown Interface of the object.

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.

Dim iCalPart as ICalendarPart
Dim iCalParts as ICalendarParts

' _NewEnum used internally here.
For Each iCalPart in iCalendarParts   
Next iCalPart