IStringCollection interface
Represents an ordered list of strings.
Members
The IStringCollection interface inherits from the IDispatch interface. IStringCollection also has these types of members:
Methods
The IStringCollection interface has these methods.
| Method | Description |
|---|---|
| Add |
Adds an item to the collection. |
| Clear |
Removes all the elements from the collection. |
| Copy |
Creates a deep 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 IStringCollection 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 a string in the collection. | |
| Read-only |
Gets a Boolean value that indicates whether the collection is read-only. |
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] |
|
Header |
|
|
IDL |
|
|
Library |
|
|
DLL |
|
|
IID |
IID_IStringCollection is defined as EFF90582-2DDC-480F-A06D-60F3FBC362C3 |
Send comments about this topic to Microsoft
Build date: 11/22/2012