The Languages collection is a dispinterface on a class List intended to contain strings. When the parent object’s CDF string is constructed, each string causes the generation of a <LANGUAGE> element, with the string being the contents.
Type
IList (VT_DISPATCH)
Contains
String (VT_BSTR)
Default
Empty
Example
' Using Windows Scripting Host and VBScript
Set Implementation = CreateObject("Push.Implementation")
Implementation.Languages.Add("en")
wscript.echo Implementation.GetCDFString()
this will produce the following string:
<IMPLEMENTATION>
<LANGUAGE VALUE="en"/>
</IIMPLEMENTATION>
See Also