Programming Microsoft Outlook and Microsoft Exchange, Second Edition (DV-MPS Programming)
Outlook items contain many properties, methods, and collections that are available for all of the different types of items you can create. Due to the sheer volume of these objects, this supplement will not be able to cover their functionality in detail. So take a look at the Olform.hlp file on the companion CD for more information. Of particular interest to you as a developer are the following collections, properties, and methods: the Actions collection and its associated objects; the Attachments collection and its associated objects; and the Categories property:
- Actions collection. The Actions collection returns the actions available on the form. You can create new actions or change existing actions using this collection. The most common use of the Actions collection is to execute an already existing action that you created with the Outlook Forms Designer.
- Attachments collection. The Attachments collection allows you to retrieve or create new attachments in an Outlook item. This collection can hold different types of attachments according to the needs of your application.
- Categories property. The Categories property allows you to return or set the categories for the Outlook item. By setting this property programmatically, you can group and sort your items based on your custom categories.
The Account Tracking application, discussed in Chapter 7, provides you with sample code that you can use to get started programming with all these objects.