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 介面。 (Put)
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