简体   繁体   中英

Viewing All Properties of a COM object for VB.NET Project in Visual Studio 2010 debug

I'm working on a VB.NET project, and I'm looking to set a watch on a COM object in Visual Studio 2010, but I cannot get anything useful if I simply set the watch on object FooBar. When I expand the menu, all I get is the property:

 System.__ComObject

I'm looking for something a little more detailed than that, because I know that FooBar has properties like FooBar.Version, FooBar.CurrentItem, etc., but I can only set watches on properties that I explicitly know. Is there a way to view all the properties FooBar has at once?

Have a look at this related post Is there a tool for exploring/testing COM objects?

Which points you to the tool OLEView . This should do what you want

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM