The ISimpleList::get_Count method returns the address of a long that contains the number of items in the SimpleList.
HRESULT get_Count(
long *plCount// out
);
<commerce.h>
Value | Meaning |
---|---|
S_OK | The method succeeded. |
E_POINTER | The plCount parameter is a NULL pointer. |
The caller should always call this method before calling any ISimpleList method that requires an array index in-value as a parameter.