Share via


AddIn Interface

Represents a single add-in, either installed or not installed.

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

Syntax

'Declaration
<GuidAttribute("0002097E-0000-0000-C000-000000000046")> _
Public Interface AddIn
'Usage
Dim instance As AddIn
[GuidAttribute("0002097E-0000-0000-C000-000000000046")]
public interface AddIn

Remarks

The AddIn object is a member of the AddIns collection. The AddIns collection contains all the add-ins available to Microsoft Word, regardless of whether or not they're currently loaded. The AddIns collection includes global templates or Word add-in libraries (WLLs) displayed in the Templates and Add-ins dialog box (Tools menu).

Use AddIns(index), where index is the add-in name or index number, to return a single AddIn object. You must exactly match the spelling (but not necessarily the capitalization) of the name, as it's shown in the Templates and Add-Ins dialog box.

The index number represents the position of the add-in in the list of add-ins in the Templates and Add-ins dialog box.

Use the Add method to add an add-in to the list of available add-ins and (optionally) install it using the Install argument.

To install an add-in shown in the list of available add-ins, use the Installed property.

Use the Compiled property to determine whether an AddIn object is a template or a WLL.

See Also

Reference

AddIn Members

Microsoft.Office.Interop.Word Namespace