Share via


SimpleList Object [C++]

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

ProgID:   Commerce.SimpleList (Externally creatable)
COM Class Name:   CSimpleList
Type Library Name:   Microsoft Commerce 2002 Core Components Type Library
DLL Name:   MscsCore.dll
Threading Model:   Both

[C++]

COM Interface Name:   ISimpleList
Interface ID Constant:   IID_ISimpleList
Header File:   commerce.h, mspu_guids.h

[C++]

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

Methods

[C++]

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

[Visual Basic]

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

Properties

[C++]

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

This property is read-only.

Item VARIANT Stores an item of the SimpleList object.

This property is read/write.

[Visual Basic]

Property Type Description
Count Long Stores the number of items in the SimpleList object.

This property is read-only.

Item Variant Stores an item of the SimpleList object.

This property is read/write.

See Also

General Purpose Objects

[C++]Dictionary Object

[Visual Basic]Dictionary Object

Copyright © 2005 Microsoft Corporation.
All rights reserved.