SimpleList Object

Ee783841.c++_off(en-US,CS.10).gifEe783841.vb_on(en-US,CS.10).gif

Use this object to create an array of variants that supports enumeration.

ProgID:   Commerce.SimpleList (Externally creatable)
COM Class Name:   CSimpleList
COM Interface Name:   ISimpleList
Interface ID Constant:   IID_ISimpleList
Header File:   commerce.h, mspu_guids.h
Type Library Name:   Microsoft Commerce 2000 Core Components Type Library
DLL Name:   MscsCore.dll
Threading Model:   Both

In C++, use the ISimpleList interface to access the properties and methods of the SimpleList object.

The properties of the SimpleList object are shown in the following table.

Property Type Description
Count long Returns the number of elements in the SimpleList object.

This property is read-only.

Item VARIANT Stores an element of the SimpleList object.

This property is read/write.

The methods of the SimpleList object are shown in the following table.

Method Description
Add Adds the specified item to a SimpleList object.
Delete Deletes a specified item from the SimpleList object.

See Also

General Purpose Objects

Dictionary Object


All rights reserved.