Compartilhar via


IPortableDeviceValuesCollection::RemoveAt

banner art

Previous Next

IPortableDeviceValuesCollection::RemoveAt

The RemoveAt method removes the element stored at the location specified by the given index.

Syntax

  HRESULT RemoveAt(
  const DWORD  dwIndex
);

Parameters

dwIndex

[in]  Specifies the index of the element to be removed.

Return Values

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return code Description
S_OK The method succeeded.
E_INVALIDARG The specified index was out of range.

Remarks

You must specify a zero-based index.

Requirements

Header: Defined in PortableDeviceTypes.h

Library: PortableDeviceGUIDs.lib

See Also

Previous Next