Hashtable.Add

function Add (key : Object, value : Object) : void

Description

Adds an element with the specified key and value into the Hashtable.

JavaScript
// Adds 2 elements to a hash table.

var h : Hashtable;
h = new Hashtable();
h.Add(1,"one");
h.Add(2,"two");