Use of Scripting.Dictionary in C#

  • Thread starter Thread starter jaffar.kazi
  • Start date Start date
J

jaffar.kazi

Hi All,
I have a VB COM component that has an object of type
Scripting.Dictionary. Each element of this again has
Scripting.Dictionary type members.
I need to access this in C#, and am not able to do so.
Could anyone provide me with source code for the same?

Thanks in Advance.
Regards,
--Jaffar
 
I have successfully put a reference to the DLL, that's not a problem.
The thing is that the object I'm trying to access has a
Scripting.Dictionary, where each member is also a Scripting.Dictionary,
and I'm not getting what type to cast the inner member; an object array
cast is failing.
 
I have successfully put a reference to the DLL, that's not a problem.
The thing is that the object I'm trying to access has a
Scripting.Dictionary, where each member is also a Scripting.Dictionary,
and I'm not getting what type to cast the inner member; an object array
cast is failing.

Well, what happens if you call GetType() on the item which you can't
cast? What type is returned?
 
Back
Top