Previous in Contents Next in Contents

GetCDFString Method

The GetCDFString method builds and returns the CDF string defined by this object's properties and collections. For collections of objects whose class also defines a GetCDFString method, a recursive descent mechanism is used. That is, each of these objects has its GetCDFString method invoked, and in turn that object will invoke GetCDFString on its collected object, and so on down the line. The recursion stops when the hierarchy is exhausted.

VBScript Syntax

IObject.GetCDFString IProject

Parameters

IProject

An IProject dispinterface. (VT_DISPATCH)

Return Value

The CDF formatted string for this item (VT_BSTR).

Remarks

The Project object's dispinterface passed to this method is used to map the strings in the LogoRefs collection to Logo objects contained in the Project Logos collection.

Example

Set Project = CreateObject("Push.Project")
Project.Load "someproject"

' Say we want the CDF string for the first item in the top
' level channel
CDFString = Project.Channel.Items(0).GetCDFString(Project)

© 1997-2000 Microsoft Corporation. All rights reserved.