Hashtable lookup value

  • Thread starter Thread starter Dick
  • Start date Start date
D

Dick

Hello,

I've a hashtable.

When searching I can use 'Contains' method. This returns true or false.
What if I want the actual value?

Must i doo a loop with a enumerator and search each key? Or is there a
faster manner?
 
Dick said:
I've a hashtable.

When searching I can use 'Contains' method. This returns true or false.
What if I want the actual value?

Must i doo a loop with a enumerator and search each key? Or is there a
faster manner?

\\\
Dim o As Object = ht.Item("Foo")
///
 

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