Pablo Galiano : The real type behind a System.__ComObject

Subscriptions

<July 2008>
SuMoTuWeThFrSa
293012345
6789101112
13141516171819
20212223242526
272829303112
3456789

News

Subscribe to Pablo Galiano by Email

Post Categories

The real type behind a System.__ComObject

Carlos posted some time ago a really interesting article on how to find the real object type behind a System.__ComObject. The .Object property of many classes of the Visual Studio Automation model returns this System.__ComObject type.

This is really useful and can save a lot of time when you need to debug your VSX Package or GAT Package. As Carlos pointed out you will need to add a reference to the Microsoft.VisualBasic.dll assembly, if you develop using the C# language you can remove this reference after you finished with the development.

 

Pablo

posted on Tuesday, July 03, 2007 10:24 AM by pga