Sunday, June 14, 2009

How to get the type of a System.__ComObject in COM Interop

string typename = Microsoft.VisualBasic.Information.TypeName(yourobject);

note: remeber to add the Microsoft.VisualBasic in your reference

Share/Save/Bookmark

No comments:

Post a Comment