View Single Post
  #4  
Old October 31st 08, 07:57 PM posted to microsoft.public.outlook.program_forms
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Identifying folder type

Use the DefaultItemType property of the MAPIFolder object. Look in the
Outlook VBA project's Object Browser Help for information on what each
folder's DefaultItemType would be. You'll get back a member of the
olItemType enum.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"WLAN" wrote in message
...
Hi,

I would like to support on Outlook 2003 & 2007 versions. Actually i'm
writing a outlook addin using C#.

Can you tell me which mechanisms i have to use for getting folder type?

Thanks


Ads