Hashtable.Add Method

Adds an element that has the specified key and value into the Hashtable.

Namespace: System.Collections
Assembly: mscorlib (in mscorlib.dll)

Syntax

public virtual void Add (
         Objectkey,
         Objectvalue
)

Parameters

  • key
    The key of the element to add.
  • value
    The value of the element to add. This value can be null.

Version Information

Available in the .NET Micro Framework version 4.1.

See Also

Reference

Hashtable Class
Hashtable Members
System.Collections Namespace