Previous PageNext Page

8.6.5 Item Property

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

Syntax

object.Item(key) [= newitem]

Arguments

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

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 © 2000 Chili!Soft

Previous PageTop Of PageNext Page