Item PropertyItem Property*
*Contents  *Index  *Topic Contents
*Previous Topic: AssociatedType Property
*Next Topic: ItemValid Property

Item Property

Reads or writes an item in the object.

Syntax

object.Item(ItemName)=value 

Parameters

objectRequired. An object expression that evaluates to a ChatItems object.
ItemNameRequired. A string expression.
valueRequired. A variant that can be a string, number, or array of variants.

Remarks

Access is read/write.

The number of items set in a ChatItems object is unlimited. Items with a given name are unique in the object. An Item that was previously set can be overwritten by setting a new Item with the same ItemName.

Example

Dim chatitemobj as ChatItems
Set chatitemobj = New ChatItems
chatitemobj.AssociatedType = "Query"
chatitemobj.Item("Name") = "#Room"
chatitemobj.Item("Name") = "#Rhum"  'the last assignment is kept

See Also

AssociatedType


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.