Contents Index Topic Contents | ||
Previous Topic: Methods Next Topic: Remove Method |
Add Method
Adds a Channel object to the Channels collection.
Syntax
value=object.Add[(Index][, Key)]
Parameters
value Required. An object expression that evaluates to a Channel object. This will contain the newly added Channel object. object Required. An object expression that evaluates to a Channels collection object. Index Optional. A variant. If specified, it must be empty or a valid index that is a number between 1 and the current collection Count + 1. Key Optional. A variant. If specified, it must be empty or a unique string that will identify the new Channel object. Examples
Dim chan1, chan2 As Channel Set chan1 = MsChatPr1.Channels.Add(1, "Questions") Set chan2 = MsChatPr1.Channels.Add(2, "Answers") MsChatPr1.Channels.Add MsChatPr1.Channels.Add , "Aud" MsChatPr1.Channels.Add 5See Also
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.