Share via


IPOutlookItemCollection::get__NewEnum

The get__NewEnum method gets the IEnumVARIANT enumerator interface, which can be used to iterate through the collection objects. This method exists to enable foreach statements in Visual Basic and C#.

Syntax

HRESULT get__NewEnum(
  IUnknown ** ppEnumerator
)

Parameters

  • ppEnumerator
    [out] Reference to the IEnumVARIANT interface for an enumerator object for the collection.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

  • S_OK
    The method completed successfully.

Requirements

Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: pimstore.h
Library: pimstore.lib

See Also

IPOutlookItemCollection

Pocket Outlook Object Model API Interfaces

Last updated on Friday, April 22, 2005

© 2005 Microsoft Corporation. All rights reserved.

Send feedback on this topic to the authors.