almost there - COM Dictionary

  • Thread starter Thread starter greg
  • Start date Start date
G

greg

Hi
I referenced in COM Dictionary object (like Scripting Dictionary)
It has Items method that returns object
What should I cast it to???
some collection?
Ideas?

SRSPLUSLib.SrsClass srs = new SRSPLUSLib.SrsClass();

srs.Startup();

SRSPLUSLib.IDictionary dic = srs.DomainInfo(domain,tld);

??? = (???)dic.Items();

Thanks
Greg
 
Greg,

The IDictionary interface that you are using is not like
Scripting.Dictionary, because you will notice that the declaration of the
type is SRSPLUSLib.IDictionary.

What is the type that Items returns? It looks like it might return a
collection of sorts, or does it return an array? Do you have a definition
of SRSPLUSLib.IDictionary anywhere?
 
Back
Top