IPOutlookItemCollection2 (Compact 7)
3/12/2014
The IPOutlookItemCollection2 interface represents and manages a collection of PIM items contained in a Folder.
Methods in Vtable Order
IPOutlookItemCollection2 methods | Description |
---|---|
Finds the first PIM item in a collection that passes the specified restriction. |
|
Finds the next PIM item in a collection that passes the restriction specified by the most recent call to IPOutlookItemCollection::Find. |
|
Retrieves an item from the item collection, based on the current sort order. |
|
Creates a new item collection that contains only those items that meet a specified restriction. |
|
Sorts items within an item collection, based upon an item property. |
|
Gets the number of items in the collection. |
|
Gets the IEnumVARIANT enumerator interface. |
|
Gets a handle to the Outlook Mobile application object - the POOM entry point. |
|
Determines whether to include recurrences in a collection of Appointment items sorted on the IAppointment::get_Start property, in ascending order. |
|
Sets a flag to include recurrences in a collection of Appointment items sorted on the IAppointment::get_Start property in ascending order. |
Code Example
The following code example shows how to retrieve an item collection.
Note
To make the following code example easier to read, security checking and error handling are not included. This code example should not be used in a release configuration unless it has been modified to include them.
void GetAnItemsCollection(IPOutlookApp * polApp)
{
IPOutlookItemCollection2 * pItems;
IFolder2 * pFolder;
polApp->GetDefaultFolder(olFolderTasks, &pFolder);
pFolder->get_Items(&pItems);
// Release resources.
pItems->Release();
pFolder->Release();
}
Remarks
The IPOutlookItemCollection2 interface was introduced in Windows Embedded Compact 7.
Requirements
Header |
pimstore.h |
Library |
Pimstore.lib |