Outlook ItemAdd event

Add-in Express™ Support Service
That's what is more important than anything else

Outlook ItemAdd event
 
Serhat


Guest


Hi,

I dynamically add eventhandlers to some folders in the runtime, and I want to know which folder trigerred the handler function. But delegate for itemAdd event of a MapiFolder contains only one parameter (of type object), and it is a reference to the item added to the folder. How can I get a reference to the folder that the item is added in?

Thanks in advance,
Serhat.
Posted 18 Oct, 2005 18:55:28 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi, Serhat.

You can use the Parent property of an item to get the MAPIFolder interface.
Posted 19 Oct, 2005 08:17:59 Top
Guest


Guest


hi how do u download microsoft word?
Posted 20 Oct, 2005 15:33:37 Top
Guest


Guest


:?: :?: :?: :?: :?: :?: :?:
Posted 20 Oct, 2005 15:33:51 Top
Sergey Grischenko


Add-in Express team


Posts: 7233
Joined: 2004-07-05
Hi.

What do you mean?
Posted 20 Oct, 2005 15:38:54 Top