Get Type of Outlook item

G

Guest

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
 
K

Ken Slovak - [MVP - Outlook]

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.).
 
G

Guest

Thanks Ken,

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

PIT
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top