AddIns2 接口

定义

对象的集合 AddIn ,这些对象表示当前在 Microsoft Excel 中可用或打开的所有加载项,而不管它们是否已安装。

public interface class AddIns2 : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("000244B5-0000-0000-C000-000000000046")]
[System.Runtime.InteropServices.InterfaceType(2)]
public interface AddIns2 : System.Collections.IEnumerable
Public Interface AddIns2
Implements IEnumerable
属性
实现

注解

集合的内容 AddIns2 对应于“Add-Ins”对话框中显示的加载项列表, (“开发工具”选项卡上的“加载项”命令) 以及当前打开的任何加载项。

属性

_Default[Object]

对象的集合 AddIn ,这些对象表示当前在 Microsoft Excel 中可用或打开的所有加载项,而不管它们是否已安装。

Application

在没有对象限定符的情况下使用时,此属性返回表示 Application Microsoft Excel 应用程序的 对象。 与对象限定符一起使用时,此属性返回表示 Application 指定对象的创建者的对象。

Count

获取一个值,该值表示集合中的对象数。

Creator

获取一个 32 位整数,该 整数 指示创建此对象的应用程序。

Item[Object]

从集合中获取单个 对象。

Parent

获取指定对象的父对象。

方法

Add(String, Object)

将新加载项添加到加载项列表。

GetEnumerator()

对象的集合 AddIn ,这些对象表示当前在 Microsoft Excel 中可用或打开的所有加载项,而不管它们是否已安装。

适用于