image\cslogo3d1.gif

VBScript Dictionary Object Add Method

Adds a key and item pair to a Dictionary object.

Syntax: VBScript Dictionary Object Add Method

object.Add key, item

Arguments: VBScript 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: VBScript Dictionary Object Add Method

An error occurs if the key already exists.

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