AddIns.Add(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.