Previous in Contents Next in Contents

GetCDFStringForSubChannels Method

The GetCDFStringForSubChannels method builds and returns the CDF string defined by this Channel object's SubChannels collection.

VBScript Syntax

IChannel.GetCDFStringForSubchannels IProject

Parameters

IProject

An IProject dispinterface (VT_DISPATCH)

Return Value

The CDF formatted string (VT_BSTR).

Remarks

When this method is invoked, the GetCDFString method is in turn invoked on each IChannel dispinterface in the SubChannels collection. The total resulting CDF string is then returned.

The IProject argument is required for all invocations of GetCDFStringForSubChannels. This specified dispinterface is passed as an argument to all invocations of GetCDFString on the IChannel dispinterfaces.

Example

Set Project = CreateObject("Push.Project")
Project.Channel.AddSubChannel
Project.Channel.AddSubChannel
WScript.Echo Project.Channel.GetCDFStringForSubchannels(Project)

See Also

GetCDFString Method


© 1997-2000 Microsoft Corporation. All rights reserved.