General Outlook Items

This section provides sample code that applies to items in Microsoft Outlook in general.

This section includes sample code that is applicable to most Outlook items. Further examples are available under sections specific for the _AppointmentItem, _ContactItem, and _MailItem objects.

How to: Create a Helper Class to Access Common Outlook Item Members

Implements an OutlookItem helper class that accesses common properties and methods of Outlook item objects, saving the overhead of testing for and casting to a specific item object before accessing these members. Several other how-to topics listed in the See Also section below take advantage of this helper class.

How to: Display Selected Items in the Active Explorer

Uses the OutlookItem helper class to conveniently display all the items selected in the active Explorer window.