Re: Checking type of a MAPIFolder
- From: "Ken Slovak - [MVP - Outlook]" <kenslovak@xxxxxxxx>
- Date: Thu, 22 Mar 2007 09:32:10 -0400
MAPIFolder.DefaultItemType. It returns a 32-bit int that's a member of the OlItemType enum, for contacts you're looking for olContactItem which has a value of 2.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"Pablo Alvarez Doval" <pablod@xxxxxxxxxxxxxxxxx> wrote in message news:B4F98310-0930-41C8-9BE4-DD3F44432072@xxxxxxxxxxxxxxxx
Hi all,
I'm trying to iterate thru all the MAPIFolders in my personal store and get the contacts one. How could I get the 'type' of a folder (say if it is a contacts folder, or an inbox, etc...)? Thanks a lot!
Best Regards!
Pablo
.
- Follow-Ups:
- Re: Checking type of a MAPIFolder
- From: Pablo Alvarez Doval
- Re: Checking type of a MAPIFolder
- References:
- Checking type of a MAPIFolder
- From: Pablo Alvarez Doval
- Checking type of a MAPIFolder
- Prev by Date: Re: Execute Outlook 2007 macro from VSTO
- Next by Date: Re: Cannot setup security policy error - invalid solutionCodeGroupName
- Previous by thread: Checking type of a MAPIFolder
- Next by thread: Re: Checking type of a MAPIFolder
- Index(es):
Relevant Pages
|