Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
AddIns interface
Collapse the table of content
Expand the table of content

AddIns interface

A collection of AddIn objects that represents all the add-ins available to Microsoft Word, regardless of whether or not they're currently loaded.

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

[GuidAttribute("0002097F-0000-0000-C000-000000000046")]
public interface AddIns : IEnumerable

The AddIns collection includes global templates or Word add-in libraries (WLLs) displayed in the Templates and Add-ins dialog box (Tools menu).

Use the AddIns property to return the AddIns collection.

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 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. To install an add-in shown in the list of available add-ins, use the Installed property.

If the add-in is not located in the User Templates, Workgroup Templates, or Startup folder, you must specify the full path and file name when indexing an add-in by name.

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

Show:
© 2015 Microsoft