Upravit

Sdílet prostřednictvím


COMAddIn Interface

Definition

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

public interface class COMAddIn : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C033A-0000-0000-C000-000000000046")]
public interface COMAddIn : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C033A-0000-0000-C000-000000000046")>]
type COMAddIn = interface
    interface _IMsoDispObj
Public Interface COMAddIn
Implements _IMsoDispObj
Attributes
Implements

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.

Properties

Application

Returns an Application object that represents the container application for the object.

Connect

Returns or sets the state of the connection for the specified COMAddIn object.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Description

Returns or sets a descriptive String value for the specified COMAddIn object.

Guid

Returns the globally unique class identifier (GUID) for the specified COMAddIn object.

Object

Returns or sets the object that is the basis for the specified COMAddIn object.

Parent

Returns the parent object for the specified object.

ProgId

Returns the programmatic identifier (ProgID) for the specified COMAddIn object.

Applies to