AddSubchannel Method

The AddSubChannel method creates an instance of the Channel class, adds the corresponding IChannel dispinterface to the Subchannels collection, and returns the interface.

VBScript Syntax

IChannel.AddSubchannel

Parameters

None

Return Value

The IChannel dispinterface (VT_DISPATCH)

Example

VBScript and Windows Scripting Host

Set IDispChannel = CreateObject("Push.Channel")
Set IDispSubchannel = IDispChannel.AddSubchannel
Set IDispSubSubChannel = IDispSubChannel.AddSubchannel

© 1997-1998 Microsoft Corporation. All rights reserved.