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

 

JScript Dictionary Object Item Property

Sets or returns an item for a specified key in a Dictionary object Read/write.

Syntax: JScript Dictionary Object Item Property

object.Item(key)[ = newitem]

object

The name of a Dictionary object. Required.

key

Index associated with the item being retrieved or added. Required.

newitem

If provided, newitem is the new value associated with the specified key. Optional.

Remarks: JScript Dictionary Object Item Property

If key is not found when changing an item, a new key is created with the specified newitem. If key is not found when attempting to return an existing item, a new key is created and its corresponding item is left empty.

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