IStringCollection interface

Represents an ordered list of strings.

Methods

The IStringCollection interface has these methods.

Method Description
IStringCollection::Add Adds an item to the collection.
IStringCollection::Clear Removes all the elements from the collection.
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_Count Gets the number of elements in the collection.
IStringCollection::get_Item Gets or sets a string in the collection.
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::put_Item Gets or sets a string in the collection.
IStringCollection::RemoveAt Removes the item at the specified index from the collection.

Remarks

This interface can be instantiated by using the StringCollection coclass. Use the Microsoft.Update.StringColl 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]
Target Platform Windows
Header wuapi.h