Register same event for multiple folders

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

Register same event for multiple folders
Subscribing / Registering event to multiple folders 
Alex Abramov




Posts: 34
Joined: 2006-09-15
Hello,

Is it possible to subscribe the same event class to several folders?
Also, I would like to do this dynamically, I want to let the users choose which folders they want subscribed.

The FolderEvents example only shows static subscriptions to one folder at a time.

Any suggestions appreciated..

Alex
Posted 17 Oct, 2006 09:51:55 Top
Sergey Grischenko


Add-in Express team


Posts: 7229
Joined: 2004-07-05
Hi Alex.

Yes, it is possible. You just need to create several instances of the event class and connect them to folders you need.
Posted 17 Oct, 2006 11:38:43 Top