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.

IPortableDevicePropVariantCollection::RemoveAt method

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

Syntax


HRESULT RemoveAt(
  [inconst DWORD dwIndex
);

Parameters

dwIndex [in]

Specifies the index of the element to be removed.

Return value

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

Return codeDescription
S_OK

The method succeeded.

E_INVALIDARG

The specified index was out of range.

 

Remarks

You must specify a zero-based index.

Requirements

Header

PortableDeviceTypes.h

Library

PortableDeviceGUIDs.lib

See also

IPortableDevicePropVariantCollection Interface

 

 

Community Additions

Show:
© 2017 Microsoft