Share via


_NewEnum Property

_NewEnum Property

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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

CDOEX.DLL

Syntax

[C++]HRESULT get__NewEnum(IUnknown** pVal);

Parameters

  • pVal
    Returned reference to the IUnknown Interface of the object.

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

[Visual Basic]

Dim iCalPart as ICalendarPart Dim iCalParts as ICalendarParts ...

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

Send us your feedback about the Microsoft Exchange Server 2003 SDK.

Build: June 2007 (2007.618.1)

© 2003-2006 Microsoft Corporation. All rights reserved. Terms of use.