7.12.5 Item Property

Sets or returns an item for a specified key in a Dictionary object Read/write.
Syntax
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
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
|