Upravit

Sdílet prostřednictvím


COMAddIns Interface

Definition

A collection of COMAddIns objects that provide information about a COM add-in registered in the Windows Registry.

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

Remarks

Use the COMAddIns property of the Application object to return the COMAddIns collection for a Microsoft Office host application. This collection contains all of the COM add-ins that are available to a given Office host application, and the Count property of the COMAddins collection returns the number of available COM add-ins.

Use the Update() method of the COMAddins collection to refresh the list of COM add-ins from the Windows Registry.

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.

Properties

Application

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

Count

Returns an Integer indicating the number of items in the specified collection.

Creator

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

Parent

Returns the parent object for the specified object.

Methods

GetEnumerator()
Item(Object)

Returns a member of the specified COMAddIns collection.

SetAppModal(Boolean)

Reserved for internal use.

Update()

Updates the contents of the COMAddIns collection from the list of add-ins stored in the Windows Registry.

Applies to