RemoveAt Method

Removes the item at the specified index from the collection.

HRESULT RemoveAt(
    [in]  const DWORD dwIndex
);

Parameters

dwIndex

DWORD that contains the index of the item to remove.

Return Value

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

Value Description

S_OK

The method succeeded.

Requirements

Requires Windows 7.