IPortableDeviceValuesCollection 介面

IPortableDeviceValuesCollection介面會保存以零起始的索引IPortableDeviceValues 介面集合。 您可以從方法擷取這個介面,或者如果需要新的物件,請使用CLSID_PortableDeviceValuesCollection呼叫CoCreate

成員

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

方法

IPortableDeviceValuesCollection介面具有這些方法。

方法 Description
將項目加入集合
清除 釋放集合中的所有專案。
GetAt 依以零起始的索引從集合擷取專案。
GetCount 擷取集合中的專案數目。
RemoveAt 移除儲存在指定索引所指定位置的專案。

規格需求

需求
標頭
PortableDeviceTypes.h
程式庫
PortableDeviceGUIDs.lib

另請參閱

集合介面