Share via


COMAddIn Interface 

Represents a COM add-in in the Microsoft Office host application.

Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)

Usage

Public Class oMAddInImplementation
    Implements COMAddIn
End Class
Dim oMAddInImplementation1 As New oMAddInImplementation()

Syntax

Public Interface COMAddIn
    Inherits _IMsoDispObj
public interface COMAddIn : _IMsoDispObj
public interface class COMAddIn : public _IMsoDispObj
public interface COMAddIn implements _IMsoDispObj
public interface COMAddIn implements _IMsoDispObj

Remarks

The COMAddIn object is a member of the COMAddIns collection.

Use COMAddIns.Item(index), where index is either an ordinal value that returns the COM add-in at that position in the COMAddIns collection, or a String value that represents the ProgID of the specified COM add-in.

Use the ProgId property of the COMAddin object to return the programmatic identifier for a COM add-in, and use the Guid property to return the globally unique identifier (GUID) for the add-in.

Use the Connect property to set or return the state of the connection to a specified COM add-in.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Core Namespace

Other Resources

COMAddIn Members