IFolder
The IFolder interface exposes properties and methods to create and access individual Pocket Outlook items, and to send them over an infrared link.
The system provides the following default folders: Contacts, Tasks, Appointments, and Infrared. You can use them all (except the infrared folder) to create and access individual Pocket Outlook items. You can use the infrared folder only to send items over the IR port.
Methods in Vtable Order
IFolder methods | Description |
---|---|
get_Items | Gets the list of items in a folder. |
get_DefaultItemType | Gets the folder type. |
get_Application | Gets the main Pocket Outlook IPOutlookApp object. |
AddItemToInfraredFolder | Adds an item to the list of items to be sent by infrared. |
SendToInfrared | Transmits items in the Infrared folder over the IR port. |
ReceiveFromInfrared | Initiates IR reception of items belonging to the folder type. |
Remarks
Get any of the IFolder objects with the IPOutlookApp::GetDefaultFolder method on the main Pocket Outlook application object.
Example
The following code example shows how to retrieve the Calendar folder.
void GetCalendarFolder(IPOutlookApplication * polApp)
{
IFolder * pFolder;
polApp->GetDefaultFolder(olFolderCalendar, &pFolder);
// Release objects.
pFolder->Release();
}
Requirements
Smartphone: Windows Mobile 2002 and later
OS Versions: Windows CE 3.0 and later
Header: pimstore.h
Library: pimstore.lib
See Also
Pocket Outlook Object Model API Interfaces
Pocket Outlook Object Model API Enumerations
Last updated on Friday, April 22, 2005
© 2005 Microsoft Corporation. All rights reserved.
Send feedback on this topic to the authors.