Compartir a través de


IPOutlookItemCollection:IUnknown (Windows CE 5.0)

Send Feedback

This interface represents and manages a collection of Pocket Outlook items in a folder.

Methods in Vtable Order

Method Description
Add Creates an item.
Item Retrieves an item in a collection.
Remove Removes an item from a collection.
Sort Sorts items in a collection.
Find Finds the first item in a collection that meets specified search criteria.
FindNext Finds subsequent items in a collection that meet specified search criteria.
Restrict Creates a new collection of items that meets specified criteria from an existing collection.

Example

The following code example shows how to retrieve an Items collection.

void GetAnItemsCollection (IPOutlookApp *polApp)
{
  IPOutlookItemCollection *pItems;
  IFolder *pFolder;

  polApp->GetDefaultFolder (olFolderTasks, &pFolder);
  pFolder->get_Items (&pItems);

  // Release objects
  pItems->Release ();
  pFolder->Release ();
}

Requirements

OS Versions: Windows CE 2.0 and later.
Header: Pimstore.h.
Link Library: Pimstore.lib.

See Also

IPOutlookItemCollection Properties

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.