Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Retrieving name from value in a hashtable....

$
0
0

Hi,

If I use a hastable that contains a name (unique) and value, how do I get that name by using a value?

TypeName: System.Collections.Hashtable

Name                           Value
----                           -----
1008                           xcelsius
1007                           WSUS Administration
1006                           wsil-wls
1005                           WebServicesSamples
1004                           WEB-INF

I've tried .ContainsValue and .ContainsKey, but that only returns TRUE/FALSE

I want to be able to get the name by providing the value.


Patrick de Rover


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>