Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The IFolderinterface exposes properties and methods for creating and accessing individual POOM items, and for sending them over an infrared link. Outlook Mobile provides the following default folders: Contacts, Tasks, Appointments, and Infrared. You can use them all except the infrared folder, to create and access individual POOM items. You can use the infrared folder only to send items over the IR port.
Methods in Vtable Order
IFolder methods | Description |
---|---|
Gets the list of items in a folder. |
|
Gets the folder type. |
|
Gets the main Outlook Mobile IPOutlookAppobject. |
|
Adds an item to the list of items to be sent by infrared. |
|
Transmits items in the Infrared folder over the IR port. |
|
Not supported. Initiates IR reception of items belonging to the folder type. |
Remarks
You can use the IPOutlookApp::GetDefaultFoldermethod (on the main Outlook Mobile application object) to get any of the default IFolderobjects.
Code Example
The following code example shows how to retrieve the Calendar folder.
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. |
Copy Code | |
---|---|
void GetCalendarFolder(IPOutlookApplication * polApp) { IFolder * pFolder; polApp->GetDefaultFolder(olFolderCalendar, &pFolder); // Release objects. pFolder->Release(); } |
Requirements
Header | pimstore.h |
Library | Pimstore.lib |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |