Giancarlo
Guest
|
|
Andrei Smolin
Add-in Express team
Posts: 18821
Joined: 2006-05-11
|
Hello Giancarlo,
The C# code demonstrates using late binding to invoke the BodyFormat member, which is missing in the interop assembly (= type library) of Outlook 2000; mail.GetType().InvokeMember("BodyFormat" is the .NET way to do this. Since you use the type library of Outlook 2010 (not 2000), you can invoke that member directly.
Andrei Smolin
Add-in Express Team Leader |
|