The ISimpleList::Delete method deletes a VARIANT from the SimpleList.
HRESULT Delete(
longnIndex// in
);
<commerce.h>
Value | Meaning |
---|---|
S_OK | The VARIANT at the specified index was deleted. |
DISP_E_BADINDEX | The nIndex parameter contains a value greater than the size of the SimpleList or less than zero. |