iStringCollection 介面 (wuapi.h)

表示已排序的字串清單。

繼承

IStringCollection 介面繼承自 IDispatch 介面。 IStringCollection 也有下列類型的成員:

方法

IStringCollection 介面具有這些方法。

 
IStringCollection::Add

將項目新增至集合。 (IStringCollection.Add)
IStringCollection::Clear

從集合中移除所有專案。 (IStringCollection.Clear)
IStringCollection::Copy

建立集合的深層讀取/寫入複本。
IStringCollection::get__NewEnum

取得可用來列舉集合的 IEnumVARIANT 介面。 (IStringCollection.get__NewEnum)
IStringCollection::get_Count

取得集合中的項目數。 (IStringCollection.get_Count)
IStringCollection::get_Item

取得或設定集合中的字串。 (取得)
IStringCollection::get_ReadOnly

取得布爾值,指出集合是否為唯讀。
IStringCollection::Insert

將項目插入指定位置上的集合中。 (IStringCollection.Insert)
IStringCollection::p ut_Item

取得或設定集合中的字串。 (Put)
IStringCollection::RemoveAt

從集合中移除指定索引處的項目。 (IStringCollection.RemoveAt)

備註

此介面可以使用 StringCollection coclass 具現化。 使用 Microsoft.Update.StringColl 程式標識碼來建立 物件。

規格需求

需求
最低支援的用戶端 Windows XP、Windows 2000 Professional 與 SP3 [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2003、Windows 2000 Server 與 SP3 [僅限桌面應用程式]
目標平台 Windows
標頭 wuapi.h