Hashtable: ContainsValue

ContainsValue

Checks if the current instance contains a specific value.

 Public Function ContainsValue(
	  ByRef Value As Variant ) As Boolean

Parameters

Value
[ByRef] Variant. The value to search for.

Return Values

Boolean -  Indicates if the value was found.

Remarks

The table is searched linearly checking each value. Once a matching value is found, True is returned. If there is more than one of the same values, only the first is detected.

See Also

Project VBCorLib Overview | Class Hashtable Overview