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.

In this section

Topic Description
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 take advantage of this helper class.
Display selected items in the active Explorer Uses the OutlookItem helper class to conveniently display all the items selected in the active Explorer window.

See also