AddIns.Add(String, Object) Method

Definition

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

public Microsoft.Office.Interop.Word.AddIn Add (string FileName, ref object Install);
abstract member Add : string * obj -> Microsoft.Office.Interop.Word.AddIn
Public Function Add (FileName As String, Optional ByRef Install As Object) As AddIn

Parameters

FileName
String

The path for the template or WLL.

Install
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.

Returns

Remarks

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

Applies to