VBScript GetObjectFunction


VBScript 参考手册Complete VBScript Reference

The GetObject function returns a reference to an Automation object in a file.

Syntax

GetObject([pathname][,class])

Parameters Description
pathname Optional. The full path and name of the file containing the Automation object. If this parameter is omitted, the class parameter must be present.
class Optional. The class of the Automation object. This parameter uses the syntax: appname.objectype.


VBScript 参考手册Complete VBScript Reference Other Extensions