Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
Class
System.Collections.Hashtable Syntax
Dim result As Boolean = hashtableVariable.ContainsKey(key)
Description
The ContainsKey method indicates whether a given key is contained in the hashtable (true) or not (False). Usage at a Glance
The Contains method is identical in functionality to the ContainsKey method. See Also
Hashtable Class, Hashtable.ContainsValue Method |
Категории