ItemRemove Event

  • Thread starter Konstantin Becker
  • Start date
K

Konstantin Becker

Hello NG,
I've an event-handler ItemRemove. How can I get the EntryID of the Item,
that will be removed?
Can You help me?

Thanks in advance

Konstantin
 
K

Ken Slovak - [MVP - Outlook]

That event fires after the item has been removed and it doesn't provide any
reference to the item that was removed. It's pretty useless.

If the user deletes the item and it goes to Deleted Items then you can trap
ItemAdd on the Deleted Items folder. If they hard delete an item
(Shift+Delete) there's no way in the Outlook object model to tell which item
was deleted. You'd have to keep a reference to every item in the folder and
see which one or more was missing.
 

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