Name

Hashtable.ContainsKey Method

Class

System.Collections.Hashtable

Syntax

                  hashtablevariable.ContainsKey(Key)
Key (required; Object)

The key to search for among the hash table entries

Return Value

A Boolean indicating whether the key exists (True) or not (False)

Description

Indicates whether a given key is contained in the hash table

Get VB.NET Language in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.