IStringCollection interface (wuapi.h)

Represents an ordered list of strings.

Inheritance

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

Methods

The IStringCollection interface has these methods.

 
IStringCollection::Add

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

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

Creates a deep read/write copy of the collection.
IStringCollection::get__NewEnum

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

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

Gets or sets a string in the collection. (Get)
IStringCollection::get_ReadOnly

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

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

Gets or sets a string in the collection. (Put)
IStringCollection::RemoveAt

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

Remarks

This interface can be instantiated by using the StringCollection coclass. Use the Microsoft.Update.StringColl 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