Accessing custom items using Outlook API and .net

  • Thread starter Thread starter ylarom
  • Start date Start date
Y

ylarom

Hi

I have a C# program that scans Outlook items using the Outlook API.
To handle the different types of items I use a kind of switch:

if (oItem is Outlook.DocumentItem) ...
else if (oItem is Outlook.MailItem) ...
else if (oItem is Outlook.AppointmentItem) ...

The thing is I think I may be losing custom forms.

I take it there may be two kinds of custom items:
1. Derived from basic types, for example IPM.Contact.Employee
2. 'All-Custom', for exmample, IPM.AntiVirus

Is there a way to handle these by the Outlook API, or will I have to
resort to using CDO/MAPI?

Thanks
 
Back
Top