ISimpleList::Delete

The ISimpleList::Delete method deletes a VARIANT from the SimpleList.

Syntax

HRESULT Delete(
longnIndex// in
);

Parameter

nIndex
The index of the item to delete.

Include File

<commerce.h>

Return Value

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.

Related Topic

ISimpleList::Add


© 1997-1998 Microsoft Corporation. All rights reserved.