COM object IDictionary interface

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

greg

Hi

I use a COM object to interface with domain search from SRS
and it returns:

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

srs.Startup();

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



They say it is Scripting.Dictionary object

+++++++++++++++++++++++++++++++++++++++

Now in VB sample they use dic.Item["DOMAIN STATUS"]

but in c# this does not work

I am not very good in COM interface

in intellisence i see Items returns object, I dont know how to cast it

HOW do I get MY Items like "DOMAIN STATUS"



HELP!!!!!!!!!!!!
 
greg,

It appears that you are using an IDictionary interface that is defined
in SRSPLUSLib, not the one from .NET. Can you give the definition of the
interface? Without knowing the members on that interface, it is impossible
to tell (although there should be some sort of method/property where you can
get at this kind of stuff).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top