IPortableDeviceKeyCollection 介面

IPortableDeviceKeyCollection介面會保存PROPERTYKEY值的集合。 您可以從方法擷取這個介面,或者如果需要新的物件,請使用CLSID_PortableDeviceKeyCollection呼叫CoCreate

成員

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

方法

IPortableDeviceKeyCollection介面具有這些方法。

方法 Description
將屬性索引鍵加入至集合。
清除 從集合中刪除所有專案。
GetAt 依索引從集合擷取 PROPERTYKEY
GetCount 擷取這個集合中的索引鍵數目。
RemoveAt 移除儲存在指定索引所指定位置的專案。

規格需求

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

另請參閱

集合介面