IPOutlookItemCollection::Unknown
This interface is not supported in Windows CE Platform Builder 3.0.
This interface represents and manages a collection of Pocket Outlook items in a folder.
Methods in Vtable Order
Method | Description |
---|---|
IPOutlookItemCollection::Add | This function creates an item. |
IPOutlookItemCollection::Item | Gets an item in a collection. |
IPOutlookItemCollection::Remove | Removes an item in a collection. |
IPOutlookItemCollection::Sort | Sorts items in a collection. |
IPOutlookItemCollection::Find | Finds the first item in a collection that fulfills specified search criteria. |
IPOutlookItemCollection::FindNext | Finds subsequent items in a collection that fulfill specified search criteria. |
IPOutlookItemCollection::Restrict | Creates a new collection of items from a collection that fulfill specified criteria. |
Code Example [Visual Basic]
The following Visual Basic® code snippet shows how to get an Items collection:
Sub GetAnItemsCollection(polApp As PocketOutlook.Application)
Dim polTasks PocketOutlook.IPOutlookItemCollection
Set polTasks = polApp.GetDefaultFolder(olFolderTasks).Items
End Sub
Code Example [C++]
The following C++ code snippet shows how to get 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
Runs On | Versions | Defined in | Include | Link to |
---|---|---|---|---|
Windows CE OS | 2.0 and later | pimstore.h |
See Also
IPOlItems::Unknown, IPOutlookItemCollection Property Methods
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.