Share via


The VBScript getContent Function

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

For Microsoft® Visual Basic® Scripting Edition (VBScript) content types, the dashboard factory must have a way to let the script generate content back to the factory. To make this possible, Web Parts with VBScript type of content should make sure they include a function in the script called getContent.

Function getContent(xmlndPart)
    Dim sContent
     'code to generate content into sContent
     getContent = sContent
End Function

See Also

Web Part Schema Properties | VBScript and JScript Content | The JScript getContent Function