Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

MethodDescription
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.

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 a string in the collection.

ReadOnly

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

Wuapi.h

IDL

Wuapi.idl

Library

Wuguid.lib

DLL

Wuapi.dll

IID

IID_IStringCollection is defined as EFF90582-2DDC-480F-A06D-60F3FBC362C3

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.