Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Add-Ins / April 2005

Tip: Looking for answers? Try searching our database.

Get Type of Outlook item

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PIT - 27 Apr 2005 13:14 GMT
Hi,

is there a way to get type of an item in Folder using c#? (e.g. Mail, Post,
document ...)

Thanks for every Tips.

PIT
Ken Slovak - [MVP - Outlook] - 27 Apr 2005 14:45 GMT
There are a number of properties you can use, but I don't have any C#
examples. Item.Class will return an enum member that tells what the item is,
so will examining the MessageClass of the item ("IPM.Note" for email,
"IPM.Post" for posts, etc.).

Signature

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

> Hi,
>
[quoted text clipped - 5 lines]
>
> PIT
PIT - 27 Apr 2005 15:14 GMT
Thanks Ken,

i have found a solution in "An Introduction to Programming Outlook 2003
Using C#".

PIT

> There are a number of properties you can use, but I don't have any C#
> examples. Item.Class will return an enum member that tells what the item is,
[quoted text clipped - 10 lines]
> >
> > PIT
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.