Hashtable.ContainsValue Method

   
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.

   


VB.Net Language in a Nutshell
VB.NET Language in a Nutshell
ISBN: B00006L54Q
EAN: N/A
Year: 2002
Pages: 503

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