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
object Required. An object expression that evaluates to a ChatItems object. ItemName Required. A string expression. value Required. 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 keptSee Also
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.