Ho-Yan Shum
Posts: 12
Joined: 2008-02-20
|
Hi,
I have noticed numerous variations between codes, using the underscore (_) and without the underscore.
From my understanding, underscore (_) [_MailItem] for any COM stuff that is passed into your addin, and anything else should be without the underscore (_) [MailItem]. Is this correct?
|
|
Eugene Astafiev
Guest
|
Hi Ho-Yan,
If you don't need to connect to events of an item you can use a class with or without an underscore. But if you need to connect to events of an item you should use a class without an underscore. The difference is in will you be allowed to connect to events of an item or not. They are interchangeable. This is the only difference.
|
|