AddIns.Add method

Adds the specified file to the list of available add-ins.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

AddIn Add(
	string FileName,
	ref Object Install
)

Parameters

FileName
Type: System.String

The path for the template or WLL.

Install
Type: System.Object

True to install the add-in. False to add the add-in to the list of add-ins but not install it. The default value is True.

Use the Installed property of an add-in to determine if it is already installed.

Show: