Freigeben über


OID Instead of EntryID

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

In the Outlook, items are uniquely identified by their EntryID Property. In the Pocket Outlook Object Model (POOM), items are uniquely identified by their Object Identifier (OID).

Remarks

In POOM, the main IPOutlookApp object supports the IPOutlookApp::GetItemFromOid method, which retrieves the Item given its OID.

In POOM, you must not cache the OID from an item as you would cache an Entry Identifier because OIDs can change if the device is backed up and restored. If you must cache OIDs, you should have a daemon program that runs after a restore to reset these values.

You can get a POOM item's OID by using the get_Oid property method (IItem::get_Oid, IAppointment::get_Oid, IContact::get_Oid, and ITask::get_Oid).

See Also

Other Resources

Differences Between the Pocket Outlook Object Model and the Outlook Object Model
Pocket Outlook Object Model Application Development