Folder Object

Every folder in an InfoStore is represented by a Folder object, making this a commonly used item. The two key properties of this item are its Folders collection (containing all the folders beneath this one) and its Messages collection (containing all the items from this folder).

Folder Properties

All CDO objects have the common properties Session (representing the current CDO Session object) and Class (numeric value representing which object you are working with). Table A.7 lists those properties of the Folder object that are unique to this specific object or that are worth a special mention in this context.

Table A.7. Properties of the Folder object
NameReturnsDescription
NameStringRead Only. Returns the name of the Folder ("Inbox," ...

Get Exchange & Outlook®: Constructing Collaborative Solutions now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.