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

 

VBScript Dictionary Object Item Property

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

Syntax: VBScript Dictionary Object Item Property

object.Item(key) [= newitem]

Arguments: VBScript Dictionary Object Item Property

object

The name of a Dictionary object. Required.

key

A key associated with the item being retrieved or added. Required.

newitem

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

Remarks: VBScript 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.