Add method (Addons collection)

Microsoft Visio Developer Reference

Add method (Addons collection)

See also       

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.