VB.NET Language in a Nutshell
| Hashtable.ContainsValue Method |
Class
System.Collections.Hashtable
Syntax
hashtablevariable .ContainsValue( Value )
- Value (required; Object)
-
The value to search for among the hash table entries
Return Value
A Boolean indicating whether the value exists ( True ) or not ( False )
Description
Indicates whether a given value is contained in the hash table
Programming Tips and Gotchas
ContainsValue is intended to determine whether a value exists in the hash table; it is not designed to indicate the key belonging to a particular value or to determine whether multiple occurrences of a particular value exist.