Is there any way to receive the type of a Property of a
com object, with reflection.
What i know now is how to receive the value.
And what i need is the Type of the property.
However, and i do not know how, the Intellisense know
exectly the types of the members / properties of com
object.
So, it can be done.
Mattias Sj?gren - 06 Sep 2004 22:51 GMT
>Is there any way to receive the type of a Property of a
>com object, with reflection.
If you have an interop assembly for the COM library, you can use
Reflection on that just like any other assembly.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Volker Hilsheimer - 07 Sep 2004 10:55 GMT
> Is there any way to receive the type of a Property of a
> com object, with reflection.
[quoted text clipped - 7 lines]
> object.
> So, it can be done.
The type library includes all information you need/there is. Check
ITypeInfo documentation on MSDN.
Volker