IUpdateCollection interface (wuapi.h)

Represents an ordered list of updates.

Inheritance

The IUpdateCollection interface inherits from the IDispatch interface. IUpdateCollection also has these types of members:

Methods

The IUpdateCollection interface has these methods.

 
IUpdateCollection::Add

Adds an item to the collection. (IUpdateCollection.Add)
IUpdateCollection::Clear

Removes all the elements from the collection. (IUpdateCollection.Clear)
IUpdateCollection::Copy

Creates a shallow read/write copy of the collection.
IUpdateCollection::get__NewEnum

Gets an IEnumVARIANT interface that can be used to enumerate the collection. (IUpdateCollection.get__NewEnum)
IUpdateCollection::get_Count

Gets the number of elements in the collection. (IUpdateCollection.get_Count)
IUpdateCollection::get_Item

Gets or sets an IUpdate interface in a collection. (Get)
IUpdateCollection::get_ReadOnly

Gets a Boolean value that indicates whether the update collection is read-only.
IUpdateCollection::Insert

Inserts an item into the collection at the specified position. (IUpdateCollection.Insert)
IUpdateCollection::put_Item

Gets or sets an IUpdate interface in a collection. (Put)
IUpdateCollection::RemoveAt

Removes the item at the specified index from the collection. (IUpdateCollection.RemoveAt)

Remarks

You can create an instance of this interface by using the UpdateCollection coclass. Use the Microsoft.Update.UpdateColl program identifier to create the object.

Requirements

Requirement Value
Minimum supported client Windows XP, Windows 2000 Professional with SP3 [desktop apps only]
Minimum supported server Windows Server 2003, Windows 2000 Server with SP3 [desktop apps only]
Target Platform Windows
Header wuapi.h