Hashtable.ContainsKey Method


Hashtable.ContainsKey Method

Class

System.Collections.Hashtable

Syntax

     Dim result As Boolean = hashtableVariable.ContainsKey(key) 


key (required; any)

The key to search for among the hashtable entries

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




Visual Basic 2005(c) In a Nutshell
Visual Basic 2005 in a Nutshell (In a Nutshell (OReilly))
ISBN: 059610152X
EAN: 2147483647
Year: 2004
Pages: 712

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net