Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IPortableDeviceKeyCollection interface

The IPortableDeviceKeyCollection interface 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.

Members

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

Methods

The IPortableDeviceKeyCollection interface has these methods.

MethodDescription
Add

Adds a property key to the collection.

Clear

Deletes all items from the collection.

GetAt

Retrieves a PROPERTYKEY from the collection by index.

GetCount

Retrieves the number of keys in this collection.

RemoveAt

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

 

Requirements

Header

PortableDeviceTypes.h

Library

PortableDeviceGUIDs.lib

See also

Collection Interfaces

 

 

Community Additions

Show:
© 2017 Microsoft