Previous in Contents Next in Contents

IDictionary::get__newEnum

The get__newEnum method retrieves an enumerator object that implements IEnumVariant on the Dictionary.

Syntax

HRESULT get__newEnum(
IUnknown **ppUnk// out
);

Parameter

ppUnk
IUnknown for an object that implements IEnumVariant on this collection. The caller can call QueryInterface through the returned pointer to retrieve an instance pointer to the IEnumVariant for this object. To retrieve the values associated with these elements, the caller can retrieve the elements in turn using IEnumVariant::Next, and call IDictionary::get_Value on those elements.

Include File

<commerce.h>

Return Value

Value Meaning
S_OK The method succeeded.
E_POINTER The ppUnk parameter references a NULL pointer.
E_OUTOFMEMORY Memory failure.


© 1997-2000 Microsoft Corporation. All rights reserved.