iUpdateCollection 接口 (wuapi.h)

表示更新的有序列表。

继承

IUpdateCollection 接口继承自 IDispatch 接口。 IUpdateCollection 还具有以下类型的成员:

方法

IUpdateCollection 接口具有以下方法。

 
IUpdateCollection::Add

向集合中添加一项。 (IUpdateCollection.Add)
IUpdateCollection::Clear

从集合中删除所有元素。 (IUpdateCollection.Clear)
IUpdateCollection::Copy

创建集合的浅表读/写副本。
IUpdateCollection::get__NewEnum

获取可用于枚举集合的 IEnumVARIANT 接口。 (IUpdateCollection.get__NewEnum)
IUpdateCollection::get_Count

获取集合中的元素数。 (IUpdateCollection.get_Count)
IUpdateCollection::get_Item

获取或设置集合中的 IUpdate 接口。 (获取)
IUpdateCollection::get_ReadOnly

获取一个布尔值,该值指示更新集合是否为只读。
IUpdateCollection::Insert

将一项插入到集合中的指定位置。 (IUpdateCollection.Insert)
IUpdateCollection::p ut_Item

获取或设置集合中的 IUpdate 接口。 (放置)
IUpdateCollection::RemoveAt

从集合中移除指定索引位置的项。 (IUpdateCollection.RemoveAt)

注解

可以使用 UpdateCollection coclass 创建此接口的实例。 使用 Microsoft.Update.UpdateColl 程序标识符创建对象。

要求

要求
最低受支持的客户端 Windows XP、Windows 2000 Professional SP3 [仅限桌面应用]
最低受支持的服务器 Windows Server 2003、Windows 2000 Server SP3 [仅限桌面应用]
目标平台 Windows
标头 wuapi.h