Sun Chili!Soft ASP Sun Chili!Soft
ASP Sun Microsystems

 

JScript Dictionary Object Add Method

Adds a key and item pair to a Dictionary object.

Syntax: JScript Dictionary Object Add Method

object.Add (key, item)

Arguments: JScript Dictionary Object Add Method

object

The name of a Dictionary object. Required.

key

The key associated with the item being added. Required.

item

The item associated with the key being added. Required.

Remarks: JScript Dictionary Object Add Method

An error occurs if the key already exists.

Copyright 2002 Sun Microsystems, Inc. All rights reserved. Legal Notice.