Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents an ordered list of updates.
Members
The IUpdateCollection interface inherits from the IDispatch interface. IUpdateCollection also has these types of members:
- Methods
- Properties
Methods
The IUpdateCollection interface has these methods.
| Method | Description |
|---|---|
| Add | Adds an item to the collection. |
| Clear | Removes all the elements from the collection. |
| Copy | Creates a shallow read/write copy of the collection. |
| Insert | Inserts an item into the collection at the specified position. |
| RemoveAt | Removes the item at the specified index from the collection. |
Properties
The IUpdateCollection interface has these properties.
| Property | Access type | Description |
|---|---|---|
Read-only |
Gets an IEnumVARIANT interface that can be used to enumerate the collection. |
|
Read-only |
Gets the number of elements in the collection. |
|
Read/write |
Gets or sets an IUpdate interface in a collection. |
|
Read-only |
Gets a Boolean value that indicates whether the update collection is read-only. |
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
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] |
Header |
Wuapi.h |
IDL |
Wuapi.idl |
Library |
Wuguid.lib |
DLL |
Wuapi.dll |
IID |
IID_IUpdateCollection is defined as 07F7438C-7709-4CA5-B518-91279288134E |