Table of contents
TOC
折叠目录
展开目录

COMAddIns.Update 方法 (办公室)COMAddIns.Update Method (Office)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

根据保存在 Windows 注册表中的加载项列表更新 COMAddIns 集合的内容。Updates the contents of the COMAddIns collection from the list of add-ins stored in the Windows registry.

语法Syntax

表达式更新expression. Update

表达式_一个表示COMAddIns对象的变量。_expression A variable that represents a COMAddIns object.

注解Remarks

在 Microsoft Office 应用程序中使用特定 COM 加载项之前,必须先用相应的组件类别 ID 在 Windows 注册表中将该加载项注册为 COM 组件。通常,COM 加载项的安装程序会向注册表中添加必要的项。Before you can use a given COM add-in in a Microsoft Office application, that add-in must be registered in the Windows registry as a COM component with a corresponding Component Category ID. Normally the setup program for a COM add-in will add the necessary entries to the registry.

示例Example

下面的示例将根据保存在 Windows 注册表中的加载项列表更新 COMAddIns 集合的内容。The following example updates the contents of the COMAddIns collection from the list of add-ins stored in the Windows registry.

Application.COMAddIns.Update

另请参阅See also

概念Concepts

COMAddIns 对象COMAddIns Object

其他资源Other resources

COMAddIns 对象成员COMAddIns Object Members

© 2018 Microsoft