ContentListFactory Object
Use this object to efficiently maintain lists of content items that compete with each other to be selected for display on a Web page by a Content Selection pipeline (CSP).
ProgID: | Commerce.ContentListFactory (Externally creatable) |
COM Class Name: | ContentListFactory |
Type Library Name: | Microsoft Commerce 2000 Cache Manager Type Library |
DLL Name: | mscscache.dll |
Threading Model: | Both |
The properties of the ContentListFactory object are shown in the following table.
Property | Type | Description |
AllRows | IRowCollection | The collection of all rows in the ContentListFactory object.
This property is read-only. |
Count | long | Stores the number of rows in the ContentListFactory object.
This property is read/write. |
Fields | Fields | The Fields collection for a particular row in the ContentListFactory object.
This property is read-only. |
Schema | IContentListSchema | Stores a reference to the ContentListSchema object used by this ContentListFactory object.
This property is read/write. |
The methods of the ContentListFactory object are shown in the following table.
Method | Description |
BuildIndex | Builds an index on the specified column. |
ConstructFromRecordset | Initializes a ContentListFactory object, and creates and initializes a new ContentListSchema object, from an ADO Recordset object. The ContentListFactory object is populated with the data from the Recordset object. |
CreateNewContentList | Creates a new ContentList object based on the schema in use by this ContentListFactory object. The new ContentList object has access to the shared data in the ContentListFactory object that created it. |
GetData | This method is not usable from Visual Basic or VBScript. |
Search | Returns a RowCollection object containing the collection of content items that match the search criteria. |
SetData | This method is not usable from Visual Basic or VBScript. |
Remarks
Important
- The ContentList and the ContentListFactory objects are designed to be run in-process with their clients. The GetData and SetData methods assume direct memory access for performance reasons.
Both the ContentList object and the ContentListFactory object implement a common interface, IDataContainer. Therefore they share the following methods and properties, which are functionally identical on both objects:
Properties:
AllRows
Count
Fields
Methods:
BuildIndex
GetData
Search
SetData