COMAddIns Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기