The Items collection is a dispinterface on a class List object. The list is intended to contain IItem dispinterfaces. Each interface associates an Item object as a subordinate to the parent Channel object.
Type
IList (VT_DISPATCH)
Contains
IItem (VT_DISPATCH)
Remarks
Interfaces can be added to this collection in one of two ways:
Each IItem dispinterface in this collection has GetCDFString invoked on it when the parent Channel object receives an invocation of GetCDFString or GetCDFStringForItems.
Example
‘ VBScript and Windows Scripting Host
Set Channel = CreateObject(“Push.Channel”)
Set Item = CreateObject(“Push.Item”)
call Channel.Items.Add(Item)
or
Set Channel = CreateObject(“Push.Channel”)
Set Item = Channel.AddItem
The second version is more compact.
See Also