> Short answer; yes.
>
> Mattias
Alejandro,
>Hmm... What might the long answer be? I'd like to know how this is done.
Well Reflection lets you inspect any assembly, including interop
assemblies. The procedure is the same regardless if the types are
imported from COM or not. So you should be able to look at any
reflection code sample and adapt it to the types you're interested in.
The only thing that's special when it comes to COM types is that when
you call GetType() on a RCW it may return the generic
System.__ComObject rather than a type from your interop assembly. This
happens if the interop assembly isn't registered (which it should be
if it's a PIA) and the object doesn't support IProvideClassInfo. See
the docs for Marshal.GetTypedObjectForIUnknown() and
Marshal.CreateWrapperOfType() for details.
Mattias

Signature
Mattias Sjögren [MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.