Reflection and COM objects
From: Bobby C. Jones ("Bobby)
Date: 03/10/04
- Next message: Michel Gallant: "Re: New Platform Invoke Resource for Developers"
- Previous message: Jesse Kaplan: "New Platform Invoke Resource for Developers"
- Next in thread: Bobby C. Jones: "Re: Reflection and COM objects"
- Reply: Bobby C. Jones: "Re: Reflection and COM objects"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 10 Mar 2004 12:56:41 -0600
I have a COM object and I need to see if it implements an interface that
contains a specific property. This doesn't work although I've set up a test
run where myComObject was instantiated as an interface with a Style
property.
Type myType = myComObject.GetType();
PropertyInfo style = myType.GetProperty("Style");
Any guidance is much appreciated!
-- Bobby C. Jones
- Next message: Michel Gallant: "Re: New Platform Invoke Resource for Developers"
- Previous message: Jesse Kaplan: "New Platform Invoke Resource for Developers"
- Next in thread: Bobby C. Jones: "Re: Reflection and COM objects"
- Reply: Bobby C. Jones: "Re: Reflection and COM objects"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading