IPortableDeviceKeyCollection interface (portabledevicetypes.h)

Holds a collection of PROPERTYKEY values. This interface can be retrieved from a method or, if a new object is required, call CoCreate with CLSID_PortableDeviceKeyCollection.

Inheritance

The IPortableDeviceKeyCollection interface inherits from the IUnknown interface. IPortableDeviceKeyCollection also has these types of members:

Methods

The IPortableDeviceKeyCollection interface has these methods.

 
IPortableDeviceKeyCollection::Add

Adds a property key to the collection.
IPortableDeviceKeyCollection::Clear

Deletes all items from the collection.
IPortableDeviceKeyCollection::GetAt

Retrieves a PROPERTYKEY from the collection by index.
IPortableDeviceKeyCollection::GetCount

Retrieves the number of keys in this collection.
IPortableDeviceKeyCollection::RemoveAt

Removes the element stored at the location specified by the given index.

Requirements

Requirement Value
Target Platform Windows
Header portabledevicetypes.h

See also

Collection Interfaces