Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

IPortableDeviceKeyCollection Interface

banner art
PreviousNext

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.

In addition to the methods inherited from IUnknown, the IPortableDeviceKeyCollection interface exposes the following methods.

Method Description
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: Defined in PortableDeviceTypes.h

Library: PortableDeviceGUIDs.lib

See Also

PreviousNext
Show:
© 2015 Microsoft