CDO Library Object Design

CDO Library Object Design

The CDO Library is designed for ease of use and convenience. It implements the MAPI functions most used by client applications. The CDO Library is not designed for development of service providers. (For more information about service providers, see Introduction to MAPI.)

Note   The CDO Library design does not represent a one-to-one correspondence with MAPI objects. The description of the CDO Library object design does not always apply to the MAPI programming interface.

The CDO Library defines the following objects:

AddressEntries collection

AddressEntry

AddressEntryFilter

AddressList

AddressLists collection

Attachment

Attachments collection

Field

Fields collection

Folder

Folders collection

GroupHeader

InfoStore

InfoStores collection

Message

MessageFilter

Messages collection

Recipient

Recipients collection

Session

The objects supported in the CDO Library can be grouped into three categories:

Top-level objects, which can be created directly in a Microsoft® Visual Basic® program.

Child objects, which can be instantiated under the top-level objects.

Collections , or groups of objects of the same type.