次の方法で共有


IExceptions::get__NewEnum (Windows Embedded CE 6.0)

1/6/2010

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. For information on IUnknown, see IUnknown.

Return Value

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

Header pimstore.h
Library Pimstore.lib
Windows Embedded CE Windows CE 2.0 and later

See Also

Reference

IExceptions
IException
Pocket Outlook Object Model Interfaces

Other Resources

Pocket Outlook Object Model Enumerations