Previous in Contents Next in Contents

ISimpleList::get_Count

The ISimpleList::get_Count method returns the address of a long that contains the number of items in the SimpleList.

Syntax

HRESULT get_Count(
long *plCount// out
);

Parameter

plCount
Points to a long integer in which to return the number of items in the SimpleList.

Include File

<commerce.h>

Return Value

Value Meaning
S_OK The method succeeded.
E_POINTER The plCount parameter is a NULL pointer.

Remarks

The caller should always call this method before calling any ISimpleList method that requires an array index in-value as a parameter.


© 1997-2000 Microsoft Corporation. All rights reserved.