Share via


IPortableDeviceValuesCollection Interface

banner art

Previous Next

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.

In addition to the methods inherited from IUnknown, the IPortableDeviceValuesCollection interface exposes the following 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

Header: Defined in PortableDeviceTypes.h

Library: PortableDeviceGUIDs.lib

See Also

Previous Next