VB.NET Language in a Nutshell

   
Hashtable.Add Method

Class

System.Collections.Hashtable

Syntax

hashtablevariable .Add( Key , Value )

Key (required; Object)

The hash table entry's key

Value (required; Object)

The hash table entry's value

Return Value

None

Description

Adds a key/value pair to the hash table

Rules at a Glance

Programming Tips and Gotchas

See Also

Hashtable.ContainsKey Method, Hashtable.Item Property

   

Категории