Add method (Addons collection)

Add method (Addons collection)

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.

See also         Example         Applies to

Adds a new Addon object to an Addons collection.

Version added

2.0

Syntax

        
          addonObj = object.Add (fileName)
      

addonObj

The new Addon object added to the Addons collection.

object

Required. An expression that returns an Addons collection.

fileName

Required String. The name of the add-on.

Remarks

The Add method adds an EXE or VSL file to the collection and returns an Addon object if the string expression specifies an EXE file, or Nothing if the string expression specifies a VSL file.