IPortableDeviceValuesCollection interface

The IPortableDeviceValuesCollection interface holds a collection of zero-based indexed IPortableDeviceValues interfaces. This interface can be retrieved from a method, or if a new object is required, call CoCreate with CLSID_PortableDeviceValuesCollection.

Members

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

Methods

The IPortableDeviceValuesCollection interface has these methods.

Method Description
Add Adds an item to the collection
Clear Releases all items from the collection.
GetAt Retrieves an item from the collection by a zero-based index.
GetCount Retrieves the number of items in the collection.
RemoveAt Removes the element stored at the location specified by the given index.

Requirements

Requirement Value
Header
PortableDeviceTypes.h
Library
PortableDeviceGUIDs.lib

See also

Collection Interfaces