Bewerken

Delen via


AddIn Interface

Definition

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

public interface class AddIn
[System.Runtime.InteropServices.Guid("0002097E-0000-0000-C000-000000000046")]
public interface AddIn
type AddIn = interface
Public Interface AddIn
Attributes

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(String, Object) 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.

Properties

Application

Returns an Application object that represents the creator of the specified object.

Autoload

Returns a value indicating whether the specified add-in is automatically loaded when Microsoft Word is started.

Compiled

Returns a value indicating whether the specified add-in is a Microsoft Word add-in library (WLL).

Creator

Returns a value that indicates the application in which the specified object was created.

Index

Returns a value that represents the position of an item in a AddIns collection.

Installed

Returns or sets a value indicating True if the specified add-in is installed (loaded).

Name

Returns a value that indicates the name of the specified AddIn object.

Parent

Returns a value that represents the parent object of the specified AddIn object.

Path

Returns a value that indicates the URL to the specified AddIn object.

Methods

Delete()

Deletes the specified AddIn object.

Applies to