Click to Rate and Give Feedback
IUpdateCollection Interface

The IUpdateCollection interface represents an ordered list of updates.

Methods

The IUpdateCollection interface inherits the methods of the IDispatch interface.

In addition, IUpdateCollection defines the following methods.

MethodDescription

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 defines the following properties.

PropertyAccess typeDescription

_NewEnum

Read-only

Returns an IEnumVARIANT interface that can be used to enumerate the collection.

Count

Read-only

Indicates the number of elements in the collection.

Item

Read/write

Retrieves or changes an IUpdate interface in a collection.

ReadOnly

Read-only

Indicates whether an 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 clientWindows XP, Windows 2000 Professional with SP3
Minimum supported serverWindows Server 2003, Windows 2000 Server with SP3
HeaderWuapi.h
IDLWuapi.idl
LibraryWuguid.lib
DLLWuapi.dll
IIDIID_IUpdateCollection is defined as 07F7438C-7709-4CA5-B518-91279288134E

Send comments about this topic to Microsoft

Build date: 10/23/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker