Export (0) Print
Expand All
1 out of 1 rated this helpful - Rate this topic

IUpdateCollection interface

Represents an ordered list of updates.

Members

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

Methods

The IUpdateCollection interface has these 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 has these properties.

PropertyAccess typeDescription

_NewEnum

Read-only

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

Count

Read-only

Gets the number of elements in the collection.

Item

Read/write

Gets or sets an IUpdate interface in a collection.

ReadOnly

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

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.