Collaboration Data Objects

The Outlook object model is complemented by another separate object model called Collaboration Data Objects.
CDO gives you access to the underlying data that Outlook is connected to.

The Outlook object model gives you access to the user interface elements specific to the Outlook application.

Why use CDO ?

CDO exposes certain properties of folders and other Outlook items that you cant access from the Outlook object model.

  • CDO lets you delete an item permanently bypassing the Deleted Items folder

  • CDO lets you programmatically show the Select Names dialog box, which can be used to choose recipients for an e-mail message

  • CDO lets you read and write several properties that are not available in the Outlook object model or are read-only in the Outlook object model.

Connection between Outlook and CDO

Every item in Outlook is stored in an "Information Store" which is represented by a root folder in the All Main Folders list.
An information store can be an exchange mailbox on a server or a local pst file.
Every information store is identified by a Store ID.
Every item in the store is identified by an Entry ID.
Therefore if you can get the Store ID and the Entry ID from the Outlook object model you can access that item using CDO.

CDO Reference - CDO 1.21 Library

The CDO Library is contained in a namespace called MAPI
There is no PIA for this library so one is automatically generated

© 2021 Better Solutions Limited. All Rights Reserved. © 2021 Better Solutions Limited TopPrev