Platform SDK: Exchange 2000 Server

_NewEnum Property

[This is preliminary documentation and subject to change.]

Returns the variant at the specified location in the collection.

[Visual Basic]
*Used in For Each In Constructs automatically
[C++]
HRESULT get__NewEnum(IUnknown **Value);
[IDL]
[propget, restricted, id(DISPID_NEWENUM)]
HRESULT _NewEnum([out, retval] IUnknown** Unknown);

Parameters

Unknown [C++, IDL]
the IUnknown interface on an object exposing the IEnumVARIANT interface.

Remarks

Call QueryInterface on the returned interface for the IEnumVARIANT (IID_IEnumVARIANT) interface on the object. You can then use this interface to enumerate the collection.

Visual Basic programmers do not use this restricted property directly. It is used automatically in For Each In constructs.

Example