Object Model

Object Model

The object model for the CDO Library is hierarchical. The following table shows the containment hierarchy. Each indented object is a child of the object under which it is indented. An object is the parent of every object at the next level of indentation under it. For example, an Attachments collection and a Recipients collection are both child objects of a Message object, and a Messages collection is a parent object of a Message object. However, a Messages collection is not a parent object of a Recipients collection.

Session    AddressLists collection       AddressList          Fields collection             Field          AddressEntries collection             AddressEntry                Fields collection                   Field             AddressEntryFilter                Fields collection                   Field    Folder (Inbox or Outbox)       Fields collection          Field       Folders collection          Folder             Fields collection                Field             [ Folders ... Folder ... ]             Messages collection                AppointmentItem                   RecurrencePattern                GroupHeader                MeetingItem                Message                   Attachments collection                      Attachment                         Fields collection                            Field                   Fields collection                      Field                   Recipients collection                      Recipient                         AddressEntry                            Fields collection                               Field                MessageFilter                   Fields collection                      Field    InfoStores collection       InfoStore          Fields collection             Field          Folder [as expanded under Folders]

The notation "[ Folders ... Folder ... ]" signifies that any Folder object can contain a Folders collection of subfolders, and each subfolder can contain a Folders collection of more subfolders, nested to an arbitrary level.