The Codebases collection is a dispinterface on a class List object intended to contain ICodebase dispinterfaces. When the parent object’s CDF string is assembled, the GetCDFString method is invoked on each interface to fetch the object's CDF string contribution.
Type
IList (VT_DISPATCH)
Contains
ICodebase (VT_DISPATCH)
Default
Empty
Example
' Using Windows Scripting Host and VBScript
Set Implementation = CreateObject("Push.Implementation")
Implementation.AddCodebase "http://someserver/code", "C:\code"
For Each Codebase in Implementation.Codebases
wscript.echo Codebase.GetCDFString
Next
wscript.echo Impl.GetCDFString
outputs
<CODEBASE HREF="http://someserver/code"
FILENAME="C:\code"/>
<Implementation>
<CODEBASE HREF="http://someserver/code"
FILENAME="C:\code"/>
</Implementation>
See Also